0
Validation results

Directory Plus

Directory Plus

WordPress 4.9.5 theme
0
    Error 8 : Undefined index: slug
    In /home/www/themecheck/themecheck/controllers/controller_results.php line 772
  • THEME TYPEWordPress theme 4.9.5
  • FILE NAMEdirectory2-2.6(1).zip
  • FILE SIZE9134442 bytes
  • MD59bb10cd1fbb2ac605baa116b2b18fecd
  • SHA120ba5a836bd730ee6eb2e29422ea423682330a01
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://preview.ait-themes.club/theme/directory2/
  • VERSION2.6
  • AUTHOR URI
  • TAGSlight, white, one-column, two-columns, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, rtl-language-support, sticky-post, theme-options, translation-ready
  • CREATION DATE2017-03-29
  • LAST FILE UPDATE2017-04-05
  • LAST VALIDATION2017-04-05 16:16
  • OTHER VERSIONS

    2.20 : 0%

    1.59 : 0%

    1.50 : 0%

    1.41 : 0%

    1.3 : 0%

    1.28 : 0%

Critical alerts
  1. Title : Title No reference to add_theme_support( "title-tag" ) was found in the theme.The theme needs to have <title> tags, ideally in the header.php file.The theme needs to have a call to wp_title(), ideally in the header.php file.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Security breaches : Use of base64_decode() Found base64_decode in file framework.min.php.
    Ligne1225: register(){$ext=self::loadConfig();if(!AitUtils::isAjax()){add_filter('wp_list_categories',array(__CLASS__,'removeCategoryRelAtt'));add_filter('the_category',array(__CLASS__,'removeCategoryRelAtt'));if(AIT_THEME_PACKAGE==='basic'){add_filter('ait-templates-options',function($options){if(isset($options['theme']['footer']['text'])){$text=sprintf(base64_decode('UG93ZXJlZCBieSAlcyBXb3JkUHJlc3MgdGhlbWUgZnJvbSA8YSBocmVmPSJo
    Found base64_decode in file admin.min.php.
    Ligne1094: Exception(sprintf(__('Import method '%s' does not exist. Something is wrong.','ait-admin'),$method));}$decompressed=@gzuncompress($content);$result=array();if($decompressed){$raw=unserialize(base64_decode($decompressed));if(isset($raw[$whatToImport])){$dump=$raw[$wh
  3. Security breaches : Use of base64_encode() Found base64_encode in file admin.min.php.
     Exception(sprintf(__('Export method '%s' does not exist. Something is wrong.','ait-admin'),$method));}$content=array();$content[$whatToExport]=self::$method();$content[$whatToExport]=self::processUrls($content[$whatToExport]);$data=@gzcompress(base64_encode(serialize($content)),9);if(!$data){throw
  4. Unwanted files : hidden file(s) or folder(s) .htaccess was found.
  5. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="{videoEmbedUrl $meta-> in file single-portfolio-item.php.
    Ligne22: <iframe src='{videoEmbedUrl $meta->videoUrl}' width='{$vidWidth}' height='{
  6. Malware : Operations on file system fopen was found in the file ait-really-simple-captcha.php
    Ligne172: if ( $fh = @fopen( $answer_file, 'w' ) ) {
    Ligne285: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite was found in the file ait-really-simple-captcha.php
    Ligne179: fwrite( $fh, $code );
    Ligne286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne287: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne289: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne290: fwrite( $handle, '</Files>' . '\n' );
    fclose was found in the file ait-really-simple-captcha.php
    Ligne180: fclose( $fh );
    Ligne291: fclose( $handle );
    file_get_contents was found in the file ait-really-simple-captcha.php
    Ligne201: if ( @is_readable( $file ) && ( $code = file_get_contents( $file ) ) ) {
    fopen was found in the file ait-really-simple-captcha.php
    Ligne172: if ( $fh = @fopen( $answer_file, 'w' ) ) {
    Ligne285: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite was found in the file ait-really-simple-captcha.php
    Ligne179: fwrite( $fh, $code );
    Ligne286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne287: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne289: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne290: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file ait-really-simple-captcha.php
    Ligne179: fwrite( $fh, $code );
    Ligne286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne287: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne289: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne290: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file ait-really-simple-captcha.php
    Ligne179: fwrite( $fh, $code );
    Ligne286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne287: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne289: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne290: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file ait-really-simple-captcha.php
    Ligne179: fwrite( $fh, $code );
    Ligne286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne287: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne289: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne290: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file ait-really-simple-captcha.php
    Ligne179: fwrite( $fh, $code );
    Ligne286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne287: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne289: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne290: fwrite( $handle, '</Files>' . '\n' );
    fclose was found in the file ait-really-simple-captcha.php
    Ligne180: fclose( $fh );
    Ligne291: fclose( $handle );
    fopen was found in the file really-simple-captcha.php
    Ligne165: if ( $fh = @fopen( $answer_file, 'w' ) ) {
    Ligne278: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite was found in the file really-simple-captcha.php
    Ligne172: fwrite( $fh, $code );
    Ligne279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne280: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne282: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne283: fwrite( $handle, '</Files>' . '\n' );
    fclose was found in the file really-simple-captcha.php
    Ligne173: fclose( $fh );
    Ligne284: fclose( $handle );
    file_get_contents was found in the file really-simple-captcha.php
    Ligne194: if ( @is_readable( $file ) && ( $code = file_get_contents( $file ) ) ) {
    fopen was found in the file really-simple-captcha.php
    Ligne165: if ( $fh = @fopen( $answer_file, 'w' ) ) {
    Ligne278: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite was found in the file really-simple-captcha.php
    Ligne172: fwrite( $fh, $code );
    Ligne279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne280: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne282: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne283: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file really-simple-captcha.php
    Ligne172: fwrite( $fh, $code );
    Ligne279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne280: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne282: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne283: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file really-simple-captcha.php
    Ligne172: fwrite( $fh, $code );
    Ligne279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne280: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne282: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne283: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file really-simple-captcha.php
    Ligne172: fwrite( $fh, $code );
    Ligne279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne280: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne282: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne283: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file really-simple-captcha.php
    Ligne172: fwrite( $fh, $code );
    Ligne279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne280: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne282: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne283: fwrite( $handle, '</Files>' . '\n' );
    fclose was found in the file really-simple-captcha.php
    Ligne173: fclose( $fh );
    Ligne284: fclose( $handle );
    file_get_contents was found in the file AitTextElement.php
    Ligne20: <?php echo file_get_contents(__DIR__ . '/admin/element-preview.js'); ?>
    file_get_contents was found in the file AitContentElement.php
    Ligne32: <?php echo file_get_contents(__DIR__ . '/admin/element-preview.js'); ?>
    file_get_contents was found in the file ait-toolkit-override.php
    Ligne149: $icons = json_decode(file_get_contents(aitPath('fonts', $path)))->icons;
    Ligne186: $icons = json_decode(file_get_contents(aitPath('fonts', $path)))->icons;
    file_get_contents was found in the file ait-toolkit-override.php
    Ligne149: $icons = json_decode(file_get_contents(aitPath('fonts', $path)))->icons;
    Ligne186: $icons = json_decode(file_get_contents(aitPath('fonts', $path)))->icons;
    file_get_contents was found in the file framework.min.php
    Ligne115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Ligne431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne933: makeVideoThumbnailUrl($videoUrl){$url='#';$videoId=aitExtractVideoIdFromVideoUrl($videoUrl);if(AitUtils::contains($videoUrl,'youtube')){$url='https://img.youtube.com/vi/{$videoId}/1.jpg';}elseif(AitUtils::contains($videoUrl,'vimeo')){$clipData=@json_decode(@file_get_contents('http://vimeo.com/api/v2/video/{$videoId}.json'));if($cli
    Ligne1057: file_get_contents($this->css);?>
    Ligne1064: file_get_contents($this->params->js);?>
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang)
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception$e){$result['error']=true;$result['css']='\n\n/*  ==== LESS ERROR ==== */\n\n\n\n\n\n\n'.$e->getMessage().'\n\n\n\n\n\n\n';return$result;}}else{$result['css']=file_get_contents('safe://'.$cacheFile);return$result;}}static
    Ligne3081: control(){$val=$this->getValue();$path=isset($this->config->category)?'/awesome/icons-'.$this->config->category.'.json':'/awesome/icons.json';$icons=json_decode(file_get_contents(aitPath('fonts',$path)))->icons;?>
    file_get_contents was found in the file framework.min.php
    Ligne115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Ligne431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne933: makeVideoThumbnailUrl($videoUrl){$url='#';$videoId=aitExtractVideoIdFromVideoUrl($videoUrl);if(AitUtils::contains($videoUrl,'youtube')){$url='https://img.youtube.com/vi/{$videoId}/1.jpg';}elseif(AitUtils::contains($videoUrl,'vimeo')){$clipData=@json_decode(@file_get_contents('http://vimeo.com/api/v2/video/{$videoId}.json'));if($cli
    Ligne1057: file_get_contents($this->css);?>
    Ligne1064: file_get_contents($this->params->js);?>
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang)
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception$e){$result['error']=true;$result['css']='\n\n/*  ==== LESS ERROR ==== */\n\n\n\n\n\n\n'.$e->getMessage().'\n\n\n\n\n\n\n';return$result;}}else{$result['css']=file_get_contents('safe://'.$cacheFile);return$result;}}static
    Ligne3081: control(){$val=$this->getValue();$path=isset($this->config->category)?'/awesome/icons-'.$this->config->category.'.json':'/awesome/icons.json';$icons=json_decode(file_get_contents(aitPath('fonts',$path)))->icons;?>
    file_get_contents was found in the file framework.min.php
    Ligne115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Ligne431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne933: makeVideoThumbnailUrl($videoUrl){$url='#';$videoId=aitExtractVideoIdFromVideoUrl($videoUrl);if(AitUtils::contains($videoUrl,'youtube')){$url='https://img.youtube.com/vi/{$videoId}/1.jpg';}elseif(AitUtils::contains($videoUrl,'vimeo')){$clipData=@json_decode(@file_get_contents('http://vimeo.com/api/v2/video/{$videoId}.json'));if($cli
    Ligne1057: file_get_contents($this->css);?>
    Ligne1064: file_get_contents($this->params->js);?>
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang)
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception$e){$result['error']=true;$result['css']='\n\n/*  ==== LESS ERROR ==== */\n\n\n\n\n\n\n'.$e->getMessage().'\n\n\n\n\n\n\n';return$result;}}else{$result['css']=file_get_contents('safe://'.$cacheFile);return$result;}}static
    Ligne3081: control(){$val=$this->getValue();$path=isset($this->config->category)?'/awesome/icons-'.$this->config->category.'.json':'/awesome/icons.json';$icons=json_decode(file_get_contents(aitPath('fonts',$path)))->icons;?>
    file_get_contents was found in the file framework.min.php
    Ligne115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Ligne431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne933: makeVideoThumbnailUrl($videoUrl){$url='#';$videoId=aitExtractVideoIdFromVideoUrl($videoUrl);if(AitUtils::contains($videoUrl,'youtube')){$url='https://img.youtube.com/vi/{$videoId}/1.jpg';}elseif(AitUtils::contains($videoUrl,'vimeo')){$clipData=@json_decode(@file_get_contents('http://vimeo.com/api/v2/video/{$videoId}.json'));if($cli
    Ligne1057: file_get_contents($this->css);?>
    Ligne1064: file_get_contents($this->params->js);?>
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang)
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception$e){$result['error']=true;$result['css']='\n\n/*  ==== LESS ERROR ==== */\n\n\n\n\n\n\n'.$e->getMessage().'\n\n\n\n\n\n\n';return$result;}}else{$result['css']=file_get_contents('safe://'.$cacheFile);return$result;}}static
    Ligne3081: control(){$val=$this->getValue();$path=isset($this->config->category)?'/awesome/icons-'.$this->config->category.'.json':'/awesome/icons.json';$icons=json_decode(file_get_contents(aitPath('fonts',$path)))->icons;?>
    file_get_contents was found in the file framework.min.php
    Ligne115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Ligne431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne933: makeVideoThumbnailUrl($videoUrl){$url='#';$videoId=aitExtractVideoIdFromVideoUrl($videoUrl);if(AitUtils::contains($videoUrl,'youtube')){$url='https://img.youtube.com/vi/{$videoId}/1.jpg';}elseif(AitUtils::contains($videoUrl,'vimeo')){$clipData=@json_decode(@file_get_contents('http://vimeo.com/api/v2/video/{$videoId}.json'));if($cli
    Ligne1057: file_get_contents($this->css);?>
    Ligne1064: file_get_contents($this->params->js);?>
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang)
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception$e){$result['error']=true;$result['css']='\n\n/*  ==== LESS ERROR ==== */\n\n\n\n\n\n\n'.$e->getMessage().'\n\n\n\n\n\n\n';return$result;}}else{$result['css']=file_get_contents('safe://'.$cacheFile);return$result;}}static
    Ligne3081: control(){$val=$this->getValue();$path=isset($this->config->category)?'/awesome/icons-'.$this->config->category.'.json':'/awesome/icons.json';$icons=json_decode(file_get_contents(aitPath('fonts',$path)))->icons;?>
    file_get_contents was found in the file framework.min.php
    Ligne115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Ligne431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne933: makeVideoThumbnailUrl($videoUrl){$url='#';$videoId=aitExtractVideoIdFromVideoUrl($videoUrl);if(AitUtils::contains($videoUrl,'youtube')){$url='https://img.youtube.com/vi/{$videoId}/1.jpg';}elseif(AitUtils::contains($videoUrl,'vimeo')){$clipData=@json_decode(@file_get_contents('http://vimeo.com/api/v2/video/{$videoId}.json'));if($cli
    Ligne1057: file_get_contents($this->css);?>
    Ligne1064: file_get_contents($this->params->js);?>
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang)
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception$e){$result['error']=true;$result['css']='\n\n/*  ==== LESS ERROR ==== */\n\n\n\n\n\n\n'.$e->getMessage().'\n\n\n\n\n\n\n';return$result;}}else{$result['css']=file_get_contents('safe://'.$cacheFile);return$result;}}static
    Ligne3081: control(){$val=$this->getValue();$path=isset($this->config->category)?'/awesome/icons-'.$this->config->category.'.json':'/awesome/icons.json';$icons=json_decode(file_get_contents(aitPath('fonts',$path)))->icons;?>
    file_get_contents was found in the file framework.min.php
    Ligne115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Ligne431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne933: makeVideoThumbnailUrl($videoUrl){$url='#';$videoId=aitExtractVideoIdFromVideoUrl($videoUrl);if(AitUtils::contains($videoUrl,'youtube')){$url='https://img.youtube.com/vi/{$videoId}/1.jpg';}elseif(AitUtils::contains($videoUrl,'vimeo')){$clipData=@json_decode(@file_get_contents('http://vimeo.com/api/v2/video/{$videoId}.json'));if($cli
    Ligne1057: file_get_contents($this->css);?>
    Ligne1064: file_get_contents($this->params->js);?>
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang)
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception$e){$result['error']=true;$result['css']='\n\n/*  ==== LESS ERROR ==== */\n\n\n\n\n\n\n'.$e->getMessage().'\n\n\n\n\n\n\n';return$result;}}else{$result['css']=file_get_contents('safe://'.$cacheFile);return$result;}}static
    Ligne3081: control(){$val=$this->getValue();$path=isset($this->config->category)?'/awesome/icons-'.$this->config->category.'.json':'/awesome/icons.json';$icons=json_decode(file_get_contents(aitPath('fonts',$path)))->icons;?>
    file_get_contents was found in the file framework.min.php
    Ligne115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Ligne431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne933: makeVideoThumbnailUrl($videoUrl){$url='#';$videoId=aitExtractVideoIdFromVideoUrl($videoUrl);if(AitUtils::contains($videoUrl,'youtube')){$url='https://img.youtube.com/vi/{$videoId}/1.jpg';}elseif(AitUtils::contains($videoUrl,'vimeo')){$clipData=@json_decode(@file_get_contents('http://vimeo.com/api/v2/video/{$videoId}.json'));if($cli
    Ligne1057: file_get_contents($this->css);?>
    Ligne1064: file_get_contents($this->params->js);?>
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang)
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception$e){$result['error']=true;$result['css']='\n\n/*  ==== LESS ERROR ==== */\n\n\n\n\n\n\n'.$e->getMessage().'\n\n\n\n\n\n\n';return$result;}}else{$result['css']=file_get_contents('safe://'.$cacheFile);return$result;}}static
    Ligne3081: control(){$val=$this->getValue();$path=isset($this->config->category)?'/awesome/icons-'.$this->config->category.'.json':'/awesome/icons.json';$icons=json_decode(file_get_contents(aitPath('fonts',$path)))->icons;?>
    file_put_contents was found in the file framework.min.php
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang){$variables['current-lang']=$params['lang'];}$less->setVariables($variables);$result=array('inputFile'=>$inputFile,'error'=>false,'errorMsg'=>'','embedCss'=>'','url'=>'','version'=>'','isEmpty'=>false);try{$newCache=$less->cachedCompile($cache,AIT_DEV);if(empty($newCache['compiled'])){$result['isEmpty']=true;return$result;}if(!is_array($cache)or$newCache['updated']>$cache['updated']){@file_put_contents('safe://'.$cacheFile,serialize($newCache));$css='';if(AIT
    Ligne1243: as$var=>$value){$css.='@{$var}: {$value}\n';}$css.='*/\n\n';}$written=@file_put_contents('safe://'.$this->cacheDir.$outputFile,$css.$newCache['com
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception
    file_put_contents was found in the file framework.min.php
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang){$variables['current-lang']=$params['lang'];}$less->setVariables($variables);$result=array('inputFile'=>$inputFile,'error'=>false,'errorMsg'=>'','embedCss'=>'','url'=>'','version'=>'','isEmpty'=>false);try{$newCache=$less->cachedCompile($cache,AIT_DEV);if(empty($newCache['compiled'])){$result['isEmpty']=true;return$result;}if(!is_array($cache)or$newCache['updated']>$cache['updated']){@file_put_contents('safe://'.$cacheFile,serialize($newCache));$css='';if(AIT
    Ligne1243: as$var=>$value){$css.='@{$var}: {$value}\n';}$css.='*/\n\n';}$written=@file_put_contents('safe://'.$this->cacheDir.$outputFile,$css.$newCache['com
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception
    file_put_contents was found in the file framework.min.php
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang){$variables['current-lang']=$params['lang'];}$less->setVariables($variables);$result=array('inputFile'=>$inputFile,'error'=>false,'errorMsg'=>'','embedCss'=>'','url'=>'','version'=>'','isEmpty'=>false);try{$newCache=$less->cachedCompile($cache,AIT_DEV);if(empty($newCache['compiled'])){$result['isEmpty']=true;return$result;}if(!is_array($cache)or$newCache['updated']>$cache['updated']){@file_put_contents('safe://'.$cacheFile,serialize($newCache));$css='';if(AIT
    Ligne1243: as$var=>$value){$css.='@{$var}: {$value}\n';}$css.='*/\n\n';}$written=@file_put_contents('safe://'.$this->cacheDir.$outputFile,$css.$newCache['com
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception
    file_get_contents was found in the file framework.min.php
    Ligne115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Ligne431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne933: makeVideoThumbnailUrl($videoUrl){$url='#';$videoId=aitExtractVideoIdFromVideoUrl($videoUrl);if(AitUtils::contains($videoUrl,'youtube')){$url='https://img.youtube.com/vi/{$videoId}/1.jpg';}elseif(AitUtils::contains($videoUrl,'vimeo')){$clipData=@json_decode(@file_get_contents('http://vimeo.com/api/v2/video/{$videoId}.json'));if($cli
    Ligne1057: file_get_contents($this->css);?>
    Ligne1064: file_get_contents($this->params->js);?>
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang)
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception$e){$result['error']=true;$result['css']='\n\n/*  ==== LESS ERROR ==== */\n\n\n\n\n\n\n'.$e->getMessage().'\n\n\n\n\n\n\n';return$result;}}else{$result['css']=file_get_contents('safe://'.$cacheFile);return$result;}}static
    Ligne3081: control(){$val=$this->getValue();$path=isset($this->config->category)?'/awesome/icons-'.$this->config->category.'.json':'/awesome/icons.json';$icons=json_decode(file_get_contents(aitPath('fonts',$path)))->icons;?>
    file_get_contents was found in the file framework.min.php
    Ligne115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Ligne431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne933: makeVideoThumbnailUrl($videoUrl){$url='#';$videoId=aitExtractVideoIdFromVideoUrl($videoUrl);if(AitUtils::contains($videoUrl,'youtube')){$url='https://img.youtube.com/vi/{$videoId}/1.jpg';}elseif(AitUtils::contains($videoUrl,'vimeo')){$clipData=@json_decode(@file_get_contents('http://vimeo.com/api/v2/video/{$videoId}.json'));if($cli
    Ligne1057: file_get_contents($this->css);?>
    Ligne1064: file_get_contents($this->params->js);?>
    Ligne1242: compileFile($inputFile,$params){$less=self::create();$inputFileBasename=basename($inputFile,'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($params['oid'])?$params['oid']:'';$lang=isset($params['lang'])?'-{$params['lang']}':'';$globalOptionsVariables=$this->getLessVariables();$variables=$this->getLessVariables($oid);if($globalOptionsVariables===$variables){$oid='';}$outputFile='/{$inputFileBasename}{$v}{$oid}{$lang}.css';$cacheFile=$this->cacheDir.'/.ht-{$inputFileBasename}{$v}{$oid}{$lang}.less-cache';if(file_exists($cacheFile)){$cache=unserialize(file_get_contents('safe://'.$cacheFile));}else{$cache=$inputFile;}if($lang)
    Ligne1244: compileString($string){$less=self::create();$less->setVariables($this->getLessVariables());$cacheFile=$this->cacheDir.sprintf('/custom-%s.css',md5($string));$result=array('error'=>false,'isEmpty'=>false,'css'=>'');if(!is_file($cacheFile)){try{$css=$less->compile($string,'custom-css');if(empty($css)){$result['isEmpty']=true;return$result;}$result['css']=$css;@file_put_contents('safe://'.$cacheFile,$css);return$result;}catch(Exception$e){$result['error']=true;$result['css']='\n\n/*  ==== LESS ERROR ==== */\n\n\n\n\n\n\n'.$e->getMessage().'\n\n\n\n\n\n\n';return$result;}}else{$result['css']=file_get_contents('safe://'.$cacheFile);return$result;}}static
    Ligne3081: control(){$val=$this->getValue();$path=isset($this->config->category)?'/awesome/icons-'.$this->config->category.'.json':'/awesome/icons.json';$icons=json_decode(file_get_contents(aitPath('fonts',$path)))->icons;?>
    file_get_contents was found in the file wplatte.min.php
    Ligne31: removeRawIncludedContent($condition,$content,$template){if($condition){foreach((array)self::$templatesStorage[$template]as$i=>$file){$f=file_get_contents($file);$content=str_replace($f,'',$content);}return$conte
    file_get_contents was found in the file admin.min.php
    Ligne163: uploadAndImport(){$whatToImport=isset($_POST['what-to-import'])?$_POST['what-to-import']:false;$importAttachments=isset($_POST['import-attachments']);if(!$whatToImport){self::sendErrorJson(array('whatToImport'=>'','msg'=>__('Something is wrong with import form','ait-admin')));}$sendResults=array();$sendResults['whatToImport']=$whatToImport;$content=array();if(isset($_FILES['import-file'])and$_FILES['import-file']['error']==UPLOAD_ERR_OK){$gzFile=$_FILES['import-file']['tmp_name'];$content=file_get_contents($gzFile);}else{if($whatToImport=='demo-content'){$p=str_r
    Ligne1096: importFromFile($whatToImport,$file,$importAttachments=true){$content=@file_get_contents($file);if($content===false)throw
    file_get_contents was found in the file admin.min.php
    Ligne163: uploadAndImport(){$whatToImport=isset($_POST['what-to-import'])?$_POST['what-to-import']:false;$importAttachments=isset($_POST['import-attachments']);if(!$whatToImport){self::sendErrorJson(array('whatToImport'=>'','msg'=>__('Something is wrong with import form','ait-admin')));}$sendResults=array();$sendResults['whatToImport']=$whatToImport;$content=array();if(isset($_FILES['import-file'])and$_FILES['import-file']['error']==UPLOAD_ERR_OK){$gzFile=$_FILES['import-file']['tmp_name'];$content=file_get_contents($gzFile);}else{if($whatToImport=='demo-content'){$p=str_r
    Ligne1096: importFromFile($whatToImport,$file,$importAttachments=true){$content=@file_get_contents($file);if($content===false)throw
    file_put_contents was found in the file admin.min.php
    Ligne1042: exportToFile($whatToExport,$file){$dir=dirname($file);$d=AitUtils::mkdir($dir);if($d){$data=self::export($whatToExport);$result=@file_put_contents($file,$data);return$result;}else{throw
    file_get_contents was found in the file admin.min.php
    Ligne163: uploadAndImport(){$whatToImport=isset($_POST['what-to-import'])?$_POST['what-to-import']:false;$importAttachments=isset($_POST['import-attachments']);if(!$whatToImport){self::sendErrorJson(array('whatToImport'=>'','msg'=>__('Something is wrong with import form','ait-admin')));}$sendResults=array();$sendResults['whatToImport']=$whatToImport;$content=array();if(isset($_FILES['import-file'])and$_FILES['import-file']['error']==UPLOAD_ERR_OK){$gzFile=$_FILES['import-file']['tmp_name'];$content=file_get_contents($gzFile);}else{if($whatToImport=='demo-content'){$p=str_r
    Ligne1096: importFromFile($whatToImport,$file,$importAttachments=true){$content=@file_get_contents($file);if($content===false)throw
    fopen was found in the file admin.min.php
    Ligne1186: false;}$headers=wp_remote_retrieve_headers($response);$headers['response']=wp_remote_retrieve_response_code($response);wp_mkdir_p(dirname($filePath));if(PHP_OS==='WINNT'){$filePath=addslashes($filePath);}$fp=fopen($filePath,'w');if(!$fp)return$headers;fwrite($fp,wp_remote_retrieve_b
    fwrite was found in the file admin.min.php
    Ligne1186: false;}$headers=wp_remote_retrieve_headers($response);$headers['response']=wp_remote_retrieve_response_code($response);wp_mkdir_p(dirname($filePath));if(PHP_OS==='WINNT'){$filePath=addslashes($filePath);}$fp=fopen($filePath,'w');if(!$fp)return$headers;fwrite($fp,wp_remote_retrieve_body($response));fclose($fp);clearstatcache()
    fclose was found in the file admin.min.php
    Ligne1186: false;}$headers=wp_remote_retrieve_headers($response);$headers['response']=wp_remote_retrieve_response_code($response);wp_mkdir_p(dirname($filePath));if(PHP_OS==='WINNT'){$filePath=addslashes($filePath);}$fp=fopen($filePath,'w');if(!$fp)return$headers;fwrite($fp,wp_remote_retrieve_body($response));fclose($fp);clearstatcache();return$headers;}}class
  7. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php :
    Ligne731: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
    File admin.min.php :
    Ligne1232: as$page){$class=AitUtils::id2class($page['slug'],'Page','AitAdmin');$pageObject=new$class($page['slug']);$pageHook=add_menu_page(($page['slug']=='theme-options')?$adminMenuTitle:$page['menu-
    File admin.min.php :
    Ligne1232: as$page){$class=AitUtils::id2class($page['slug'],'Page','AitAdmin');$pageObject=new$class($page['slug']);$pageHook=add_menu_page(($page['slug']=='theme-options')?$adminMenuTitle:$page['menu-title'],($page['slug']=='theme-options')?$adminMenuTitle:$page['menu-title'],apply_filters('ait-admin-pages-permission','manage_options',$page),'ait-{$page['slug']}',array($pageObject,'renderPage'),$iconUrl,(string)$aitAdminItemsPosition+=0.01);if(isset($page['sub'])and!empty($page['sub'])){if($page['slug']=='theme-options'){$pageHook=add_submenu_page('ait-{$page['slug']}',$page['menu-title'],$page['menu-titl
    Ligne1233: AitAdminPluginOptionsPage($subpage);}else{$pageObject=new$class($subpage['slug']);}$pageHook=add_submenu_page('ait-{$page['slug']}',$subpage['menu-title'],$subpage['men
    File admin.min.php :
    Ligne1232: as$page){$class=AitUtils::id2class($page['slug'],'Page','AitAdmin');$pageObject=new$class($page['slug']);$pageHook=add_menu_page(($page['slug']=='theme-options')?$adminMenuTitle:$page['menu-title'],($page['slug']=='theme-options')?$adminMenuTitle:$page['menu-title'],apply_filters('ait-admin-pages-permission','manage_options',$page),'ait-{$page['slug']}',array($pageObject,'renderPage'),$iconUrl,(string)$aitAdminItemsPosition+=0.01);if(isset($page['sub'])and!empty($page['sub'])){if($page['slug']=='theme-options'){$pageHook=add_submenu_page('ait-{$page['slug']}',$page['menu-title'],$page['menu-titl
    Ligne1233: AitAdminPluginOptionsPage($subpage);}else{$pageObject=new$class($subpage['slug']);}$pageHook=add_submenu_page('ait-{$page['slug']}',$subpage['menu-title'],$subpage['men
  8. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was directory2-child.zip ait-sysinfo.zip ait-updater.zip.
Warning
  1. theme tags : Presence of bad theme tagsThe tag light has been deprecated, it must be removed from style.css header.The tag white has been deprecated, it must be removed from style.css header.The tag fluid-layout has been deprecated, it must be removed from style.css header.
  2. Text domain : Incorrect use of translation functions.Wrong installation directory for the theme name. The directory name must match the slug of the theme. This theme's correct slug and text-domain is directory-plus.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Required fields are marked %s' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Your email address will not be published.' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Name' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Email' in file functions.php.More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs. The domains found are ait, ait-admin, ait-events-pro, ait-advanced-filters, ait-item-reviews, ait-toolkit, default, tgmpa, wplatte.
  4. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file script.js.
  5. I18N implementation : Proper use of ___all(Possible variable $l found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $specialPages found in translation function in admin.min.php. Translation function calls should not contain PHP variables. Possible variable $specialPages found in translation function in admin.min.php. Translation function calls should not contain PHP variables.
  6. I18N implementation : Proper use of _x(Possible variable $text found in translation function in framework.min.php. Translation function calls should not contain PHP variables.
  7. I18N implementation : Proper use of esc_html___all(Possible variable $l found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $specialPages found in translation function in admin.min.php. Translation function calls should not contain PHP variables. Possible variable $specialPages found in translation function in admin.min.php. Translation function calls should not contain PHP variables.
  8. I18N implementation : Proper use of esc_html_x(Possible variable $text found in translation function in framework.min.php. Translation function calls should not contain PHP variables.
  9. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  10. CSS files : Presence of .screen-reader-text class.screen-reader-text css class is needed in your theme css. See : the Codex for an example implementation.
  11. Screenshot : Screenshot fileScreenshot size is 880x660px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.Bad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file single-item-social.php.
    Ligne22: <a href='https://twitter.com/share' class='twitter-share-button' data-url='{!$href}'
    Possible hard-coded links were found in the file framework.min.php.
    Ligne3819: <div class='ait-opt-maps-item ait-opt-maps-message-api' style='display: none'><?php _e('API Key for google maps is missing or invalid, please follow instructions ','ait-admin')?><a href='https://www.ait-themes.club/knowledge-base/google-maps-api-error/' target='
    Possible hard-coded links were found in the file admin.min.php.
    Ligne1316: <a href='https://www.ait-themes.club/wordpress-plugins/ait-elements-toolkit/?utm_sou
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  4. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  5. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  6. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  7. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  8. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  9. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  10. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : ait-custom-functions.php
    Ligne733: $pluginConfig = include($pluginConfig['ait-events-pro']);
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : framework.min.php
    Ligne165: mergeIncludedConfigIfAny($options,$groupKey,$isElements=false){if(isset($options['@include'])){$includedConfig=$this->includeConfig($options['@include'],$grou
    Ligne1491: self::enabled()){include_once(WC()->plugin_path().'/includes/admin/class-wc-admin-settings.p
    Ligne1542: createTables($isDemoContent){if(!$isDemoContent)return;global$wpdb;if($wpdb->get_var('SHOW TABLES LIKE '{$wpdb->prefix}woocommerce_attribute_taxonomies'')){return;}$wpdb->hide_errors();$collate='';if($wpdb->has_cap('collation')){if(!empty($wpdb->charset)){$collate.='DEFAULT CHARACTER SET $wpdb->charset';}if(!empty($wpdb->collate)){$collate.=' COLLATE $wpdb->collate';}}require_once(ABSPATH.'wp-admin/includes/upgrade.php');if($wpdb->get_var('SH
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
Other checked themes