0
Validation results

Ristorante+

Ristorante+

WordPress 6.5.2 theme
0
  • THEME TYPEWordPress theme 6.5.2
  • FILE NAMEristorante2-1.33.zip
  • FILE SIZE6575961 bytes
  • MD5021e9e47f0b47dae1ae000065b24effd
  • SHA1eb99d9767e26775b9ce072b6f5a8a3ffb3945028
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://preview.ait-themes.club/theme/ristorante2
  • VERSION1.33
  • 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 DATE2019-12-17
  • LAST FILE UPDATE2019-12-17
  • LAST VALIDATION2019-12-17 05:15
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
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. 1236: 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('UG93ZXJlZCBieSAlcyBXb3JkUHJlc3MgdGhlbWUgZnJvbSA8YSBocmVmPSJoFound base64_decode in file admin.min.php. 1094: 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. 22: <iframe src='{videoEmbedUrl $meta->videoUrl}' width='{$vidWidth}' height='{
  6. Malware : Operations on file system file_get_contents was found in the file framework.min.php 122: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont218: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{412: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview442: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function943: 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($cli1068: file_get_contents($this->css);?>1075: file_get_contents($this->params->js);?>1255: 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)1257: 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;}}static3126: 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 122: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont218: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{412: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview442: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function943: 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($cli1068: file_get_contents($this->css);?>1075: file_get_contents($this->params->js);?>1255: 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)1257: 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;}}static3126: 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 122: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont218: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{412: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview442: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function943: 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($cli1068: file_get_contents($this->css);?>1075: file_get_contents($this->params->js);?>1255: 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)1257: 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;}}static3126: 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 122: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont218: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{412: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview442: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function943: 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($cli1068: file_get_contents($this->css);?>1075: file_get_contents($this->params->js);?>1255: 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)1257: 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;}}static3126: 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 122: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont218: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{412: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview442: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function943: 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($cli1068: file_get_contents($this->css);?>1075: file_get_contents($this->params->js);?>1255: 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)1257: 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;}}static3126: 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 122: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont218: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{412: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview442: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function943: 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($cli1068: file_get_contents($this->css);?>1075: file_get_contents($this->params->js);?>1255: 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)1257: 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;}}static3126: 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 122: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont218: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{412: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview442: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function943: 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($cli1068: file_get_contents($this->css);?>1075: file_get_contents($this->params->js);?>1255: 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)1257: 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;}}static3126: 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 122: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont218: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{412: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview442: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function943: 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($cli1068: file_get_contents($this->css);?>1075: file_get_contents($this->params->js);?>1255: 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)1257: 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;}}static3126: 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 1255: 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(AIT1256: as$var=>$value){$css.='@{$var}: {$value}\n';}$css.='*/\n\n';}$written=@file_put_contents('safe://'.$this->cacheDir.$outputFile,$css.$newCache['com1257: 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(Exceptionfile_put_contents was found in the file framework.min.php 1255: 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(AIT1256: as$var=>$value){$css.='@{$var}: {$value}\n';}$css.='*/\n\n';}$written=@file_put_contents('safe://'.$this->cacheDir.$outputFile,$css.$newCache['com1257: 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(Exceptionfile_put_contents was found in the file framework.min.php 1255: 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(AIT1256: as$var=>$value){$css.='@{$var}: {$value}\n';}$css.='*/\n\n';}$written=@file_put_contents('safe://'.$this->cacheDir.$outputFile,$css.$newCache['com1257: 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(Exceptionfile_get_contents was found in the file framework.min.php 122: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont218: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{412: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview442: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function943: 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($cli1068: file_get_contents($this->css);?>1075: file_get_contents($this->params->js);?>1255: 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)1257: 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;}}static3126: 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 122: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont218: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{412: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview442: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function943: 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($cli1068: file_get_contents($this->css);?>1075: file_get_contents($this->params->js);?>1255: 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)1257: 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;}}static3126: 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 31: 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$contefile_get_contents was found in the file admin.min.php 163: 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_r1096: importFromFile($whatToImport,$file,$importAttachments=true){$content=@file_get_contents($file);if($content===false)throwfile_get_contents was found in the file admin.min.php 163: 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_r1096: importFromFile($whatToImport,$file,$importAttachments=true){$content=@file_get_contents($file);if($content===false)throwfile_put_contents was found in the file admin.min.php 1042: 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{throwfile_get_contents was found in the file admin.min.php 163: 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_r1096: importFromFile($whatToImport,$file,$importAttachments=true){$content=@file_get_contents($file);if($content===false)throwfopen was found in the file admin.min.php 1186: 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_bfwrite was found in the file admin.min.php 1186: 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 1186: 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;}}classfile_get_contents was found in the file AitContentElement.php 36: <?php echo file_get_contents(__DIR__ . '/admin/element-preview.js'); ?>fopen was found in the file really-simple-captcha.php 165: if ( $fh = @fopen( $answer_file, 'w' ) ) {278: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {fwrite was found in the file really-simple-captcha.php 172: fwrite( $fh, $code );279: fwrite( $handle, 'Order deny,allow' . '\n' );280: fwrite( $handle, 'Deny from all' . '\n' );281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );282: fwrite( $handle, ' Allow from all' . '\n' );283: fwrite( $handle, '</Files>' . '\n' );fclose was found in the file really-simple-captcha.php 173: fclose( $fh );284: fclose( $handle );file_get_contents was found in the file really-simple-captcha.php 194: if ( @is_readable( $file ) && ( $code = file_get_contents( $file ) ) ) {fopen was found in the file really-simple-captcha.php 165: if ( $fh = @fopen( $answer_file, 'w' ) ) {278: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {fwrite was found in the file really-simple-captcha.php 172: fwrite( $fh, $code );279: fwrite( $handle, 'Order deny,allow' . '\n' );280: fwrite( $handle, 'Deny from all' . '\n' );281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );282: fwrite( $handle, ' Allow from all' . '\n' );283: fwrite( $handle, '</Files>' . '\n' );fwrite was found in the file really-simple-captcha.php 172: fwrite( $fh, $code );279: fwrite( $handle, 'Order deny,allow' . '\n' );280: fwrite( $handle, 'Deny from all' . '\n' );281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );282: fwrite( $handle, ' Allow from all' . '\n' );283: fwrite( $handle, '</Files>' . '\n' );fwrite was found in the file really-simple-captcha.php 172: fwrite( $fh, $code );279: fwrite( $handle, 'Order deny,allow' . '\n' );280: fwrite( $handle, 'Deny from all' . '\n' );281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );282: fwrite( $handle, ' Allow from all' . '\n' );283: fwrite( $handle, '</Files>' . '\n' );fwrite was found in the file really-simple-captcha.php 172: fwrite( $fh, $code );279: fwrite( $handle, 'Order deny,allow' . '\n' );280: fwrite( $handle, 'Deny from all' . '\n' );281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );282: fwrite( $handle, ' Allow from all' . '\n' );283: fwrite( $handle, '</Files>' . '\n' );fwrite was found in the file really-simple-captcha.php 172: fwrite( $fh, $code );279: fwrite( $handle, 'Order deny,allow' . '\n' );280: fwrite( $handle, 'Deny from all' . '\n' );281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );282: fwrite( $handle, ' Allow from all' . '\n' );283: fwrite( $handle, '</Files>' . '\n' );fclose was found in the file really-simple-captcha.php 173: fclose( $fh );284: fclose( $handle );fopen was found in the file ait-really-simple-captcha.php 172: if ( $fh = @fopen( $answer_file, 'w' ) ) {285: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {fwrite was found in the file ait-really-simple-captcha.php 179: fwrite( $fh, $code );286: fwrite( $handle, 'Order deny,allow' . '\n' );287: fwrite( $handle, 'Deny from all' . '\n' );288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );289: fwrite( $handle, ' Allow from all' . '\n' );290: fwrite( $handle, '</Files>' . '\n' );fclose was found in the file ait-really-simple-captcha.php 180: fclose( $fh );291: fclose( $handle );file_get_contents was found in the file ait-really-simple-captcha.php 201: if ( @is_readable( $file ) && ( $code = file_get_contents( $file ) ) ) {fopen was found in the file ait-really-simple-captcha.php 172: if ( $fh = @fopen( $answer_file, 'w' ) ) {285: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {fwrite was found in the file ait-really-simple-captcha.php 179: fwrite( $fh, $code );286: fwrite( $handle, 'Order deny,allow' . '\n' );287: fwrite( $handle, 'Deny from all' . '\n' );288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );289: fwrite( $handle, ' Allow from all' . '\n' );290: fwrite( $handle, '</Files>' . '\n' );fwrite was found in the file ait-really-simple-captcha.php 179: fwrite( $fh, $code );286: fwrite( $handle, 'Order deny,allow' . '\n' );287: fwrite( $handle, 'Deny from all' . '\n' );288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );289: fwrite( $handle, ' Allow from all' . '\n' );290: fwrite( $handle, '</Files>' . '\n' );fwrite was found in the file ait-really-simple-captcha.php 179: fwrite( $fh, $code );286: fwrite( $handle, 'Order deny,allow' . '\n' );287: fwrite( $handle, 'Deny from all' . '\n' );288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );289: fwrite( $handle, ' Allow from all' . '\n' );290: fwrite( $handle, '</Files>' . '\n' );fwrite was found in the file ait-really-simple-captcha.php 179: fwrite( $fh, $code );286: fwrite( $handle, 'Order deny,allow' . '\n' );287: fwrite( $handle, 'Deny from all' . '\n' );288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );289: fwrite( $handle, ' Allow from all' . '\n' );290: fwrite( $handle, '</Files>' . '\n' );fwrite was found in the file ait-really-simple-captcha.php 179: fwrite( $fh, $code );286: fwrite( $handle, 'Order deny,allow' . '\n' );287: fwrite( $handle, 'Deny from all' . '\n' );288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );289: fwrite( $handle, ' Allow from all' . '\n' );290: fwrite( $handle, '</Files>' . '\n' );fclose was found in the file ait-really-simple-captcha.php 180: fclose( $fh );291: fclose( $handle );file_get_contents was found in the file AitTextElement.php 20: <?php echo file_get_contents(__DIR__ . '/admin/element-preview.js'); ?>
  7. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php : 731: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_tFile admin.min.php : 1232: 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 : 1232: 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-titl1233: AitAdminPluginOptionsPage($subpage);}else{$pageObject=new$class($subpage['slug']);}$pageHook=add_submenu_page('ait-{$page['slug']}',$subpage['menu-title'],$subpage['menFile admin.min.php : 1232: 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-titl1233: 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 ristorante2-child.zip ait-sysinfo.zip ait-updater.zip leadin.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 ristorante.
  3. Text domain : Incorrect use of translation functions.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-admin, default, ait, tgmpa, wplatte, simple-image-widget.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  9. 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.
  10. 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 framework.min.php.3871: <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.1316: <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 : framework.min.php 172: mergeIncludedConfigIfAny($options,$groupKey,$isElements=false){if(isset($options['@include'])){$includedConfig=$this->includeConfig($options['@include'],$grou1509: self::enabled()){include_once(WC()->plugin_path().'/includes/admin/class-wc-admin-settings.p1559: 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