0
Validation results

Architect

Architect

WordPress 4.9.8 theme
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.
    Line 1225: 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.
    Line 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.
    Line 24: <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
    Line 172: if ( $fh = @fopen( $answer_file, 'w' ) ) {
    Line 285: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite was found in the file ait-really-simple-captcha.php
    Line 179: fwrite( $fh, $code );
    Line 286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Line 287: fwrite( $handle, 'Deny from all' . '\n' );
    Line 288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Line 289: fwrite( $handle, '    Allow from all' . '\n' );
    Line 290: fwrite( $handle, '</Files>' . '\n' );
    fclose was found in the file ait-really-simple-captcha.php
    Line 180: fclose( $fh );
    Line 291: fclose( $handle );
    file_get_contents was found in the file ait-really-simple-captcha.php
    Line 201: if ( @is_readable( $file ) && ( $code = file_get_contents( $file ) ) ) {
    fopen was found in the file ait-really-simple-captcha.php
    Line 172: if ( $fh = @fopen( $answer_file, 'w' ) ) {
    Line 285: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite was found in the file ait-really-simple-captcha.php
    Line 179: fwrite( $fh, $code );
    Line 286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Line 287: fwrite( $handle, 'Deny from all' . '\n' );
    Line 288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Line 289: fwrite( $handle, '    Allow from all' . '\n' );
    Line 290: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file ait-really-simple-captcha.php
    Line 179: fwrite( $fh, $code );
    Line 286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Line 287: fwrite( $handle, 'Deny from all' . '\n' );
    Line 288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Line 289: fwrite( $handle, '    Allow from all' . '\n' );
    Line 290: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file ait-really-simple-captcha.php
    Line 179: fwrite( $fh, $code );
    Line 286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Line 287: fwrite( $handle, 'Deny from all' . '\n' );
    Line 288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Line 289: fwrite( $handle, '    Allow from all' . '\n' );
    Line 290: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file ait-really-simple-captcha.php
    Line 179: fwrite( $fh, $code );
    Line 286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Line 287: fwrite( $handle, 'Deny from all' . '\n' );
    Line 288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Line 289: fwrite( $handle, '    Allow from all' . '\n' );
    Line 290: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file ait-really-simple-captcha.php
    Line 179: fwrite( $fh, $code );
    Line 286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Line 287: fwrite( $handle, 'Deny from all' . '\n' );
    Line 288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Line 289: fwrite( $handle, '    Allow from all' . '\n' );
    Line 290: fwrite( $handle, '</Files>' . '\n' );
    fclose was found in the file ait-really-simple-captcha.php
    Line 180: fclose( $fh );
    Line 291: fclose( $handle );
    fopen was found in the file really-simple-captcha.php
    Line 165: if ( $fh = @fopen( $answer_file, 'w' ) ) {
    Line 278: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite was found in the file really-simple-captcha.php
    Line 172: fwrite( $fh, $code );
    Line 279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Line 280: fwrite( $handle, 'Deny from all' . '\n' );
    Line 281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Line 282: fwrite( $handle, '    Allow from all' . '\n' );
    Line 283: fwrite( $handle, '</Files>' . '\n' );
    fclose was found in the file really-simple-captcha.php
    Line 173: fclose( $fh );
    Line 284: fclose( $handle );
    file_get_contents was found in the file really-simple-captcha.php
    Line 194: if ( @is_readable( $file ) && ( $code = file_get_contents( $file ) ) ) {
    fopen was found in the file really-simple-captcha.php
    Line 165: if ( $fh = @fopen( $answer_file, 'w' ) ) {
    Line 278: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite was found in the file really-simple-captcha.php
    Line 172: fwrite( $fh, $code );
    Line 279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Line 280: fwrite( $handle, 'Deny from all' . '\n' );
    Line 281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Line 282: fwrite( $handle, '    Allow from all' . '\n' );
    Line 283: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file really-simple-captcha.php
    Line 172: fwrite( $fh, $code );
    Line 279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Line 280: fwrite( $handle, 'Deny from all' . '\n' );
    Line 281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Line 282: fwrite( $handle, '    Allow from all' . '\n' );
    Line 283: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file really-simple-captcha.php
    Line 172: fwrite( $fh, $code );
    Line 279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Line 280: fwrite( $handle, 'Deny from all' . '\n' );
    Line 281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Line 282: fwrite( $handle, '    Allow from all' . '\n' );
    Line 283: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file really-simple-captcha.php
    Line 172: fwrite( $fh, $code );
    Line 279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Line 280: fwrite( $handle, 'Deny from all' . '\n' );
    Line 281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Line 282: fwrite( $handle, '    Allow from all' . '\n' );
    Line 283: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file really-simple-captcha.php
    Line 172: fwrite( $fh, $code );
    Line 279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Line 280: fwrite( $handle, 'Deny from all' . '\n' );
    Line 281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Line 282: fwrite( $handle, '    Allow from all' . '\n' );
    Line 283: fwrite( $handle, '</Files>' . '\n' );
    fclose was found in the file really-simple-captcha.php
    Line 173: fclose( $fh );
    Line 284: fclose( $handle );
    file_get_contents was found in the file AitTextElement.php
    Line 20: <?php echo file_get_contents(__DIR__ . '/admin/element-preview.js'); ?>
    file_get_contents was found in the file AitContentElement.php
    Line 32: <?php echo file_get_contents(__DIR__ . '/admin/element-preview.js'); ?>
    file_get_contents was found in the file framework.min.php
    Line 115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Line 211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Line 401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Line 431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Line 933: 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
    Line 1057: file_get_contents($this->css);?>
    Line 1064: file_get_contents($this->params->js);?>
    Line 1244: 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)
    Line 1246: 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
    Line 3082: 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
    Line 115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Line 211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Line 401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Line 431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Line 933: 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
    Line 1057: file_get_contents($this->css);?>
    Line 1064: file_get_contents($this->params->js);?>
    Line 1244: 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)
    Line 1246: 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
    Line 3082: 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
    Line 115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Line 211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Line 401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Line 431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Line 933: 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
    Line 1057: file_get_contents($this->css);?>
    Line 1064: file_get_contents($this->params->js);?>
    Line 1244: 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)
    Line 1246: 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
    Line 3082: 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
    Line 115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Line 211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Line 401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Line 431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Line 933: 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
    Line 1057: file_get_contents($this->css);?>
    Line 1064: file_get_contents($this->params->js);?>
    Line 1244: 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)
    Line 1246: 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
    Line 3082: 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
    Line 115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Line 211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Line 401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Line 431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Line 933: 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
    Line 1057: file_get_contents($this->css);?>
    Line 1064: file_get_contents($this->params->js);?>
    Line 1244: 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)
    Line 1246: 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
    Line 3082: 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
    Line 115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Line 211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Line 401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Line 431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Line 933: 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
    Line 1057: file_get_contents($this->css);?>
    Line 1064: file_get_contents($this->params->js);?>
    Line 1244: 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)
    Line 1246: 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
    Line 3082: 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
    Line 115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Line 211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Line 401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Line 431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Line 933: 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
    Line 1057: file_get_contents($this->css);?>
    Line 1064: file_get_contents($this->params->js);?>
    Line 1244: 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)
    Line 1246: 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
    Line 3082: 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
    Line 115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Line 211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Line 401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Line 431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Line 933: 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
    Line 1057: file_get_contents($this->css);?>
    Line 1064: file_get_contents($this->params->js);?>
    Line 1244: 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)
    Line 1246: 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
    Line 3082: 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
    Line 1244: 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
    Line 1245: as$var=>$value){$css.='@{$var}: {$value}\n';}$css.='*/\n\n';}$written=@file_put_contents('safe://'.$this->cacheDir.$outputFile,$css.$newCache['com
    Line 1246: 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
    Line 1244: 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
    Line 1245: as$var=>$value){$css.='@{$var}: {$value}\n';}$css.='*/\n\n';}$written=@file_put_contents('safe://'.$this->cacheDir.$outputFile,$css.$newCache['com
    Line 1246: 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
    Line 1244: 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
    Line 1245: as$var=>$value){$css.='@{$var}: {$value}\n';}$css.='*/\n\n';}$written=@file_put_contents('safe://'.$this->cacheDir.$outputFile,$css.$newCache['com
    Line 1246: 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
    Line 115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Line 211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Line 401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Line 431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Line 933: 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
    Line 1057: file_get_contents($this->css);?>
    Line 1064: file_get_contents($this->params->js);?>
    Line 1244: 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)
    Line 1246: 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
    Line 3082: 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
    Line 115: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Line 211: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Line 401: file_get_contents(aitPath('elements','/{$elementName}/admin/element-preview
    Line 431: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Line 933: 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
    Line 1057: file_get_contents($this->css);?>
    Line 1064: file_get_contents($this->params->js);?>
    Line 1244: 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)
    Line 1246: 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
    Line 3082: 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
    Line 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$conte
    file_get_contents was found in the file admin.min.php
    Line 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_r
    Line 1096: 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
    Line 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_r
    Line 1096: 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
    Line 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{throw
    file_get_contents was found in the file admin.min.php
    Line 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_r
    Line 1096: importFromFile($whatToImport,$file,$importAttachments=true){$content=@file_get_contents($file);if($content===false)throw
    fopen was found in the file admin.min.php
    Line 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_b
    fwrite was found in the file admin.min.php
    Line 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
    Line 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;}}class
  7. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php :
    Line 731: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
    File admin.min.php :
    Line 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 :
    Line 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-titl
    Line 1233: AitAdminPluginOptionsPage($subpage);}else{$pageObject=new$class($subpage['slug']);}$pageHook=add_submenu_page('ait-{$page['slug']}',$subpage['menu-title'],$subpage['men
    File admin.min.php :
    Line 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-titl
    Line 1233: 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 architect-child.zip ait-toolkit.zip ait-sysinfo.zip revslider.zip ait-shortcodes.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.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, default, tgmpa, wplatte.
  3. 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.
    Line 1668: getLabelText(){$labelText='';if(isset($this->config->label)and!empty($this->config->label)){$l=$this->config->label;$labelText='';$esc_html__='esc_html__';$esc_html_x='esc_html_x';if(is_string($l)){$labelText=$esc_html__($l,$this->textDomain);}elseif($l
    Possible variable $specialPages found in translation function in admin.min.php. Translation function calls should not contain PHP variables.
    Line 791: getTitle(){$title='';if(aitOptions()->isNormalPageOptions($this->oid)){$title=esc_html($this->getPostTitle());}else{$specialPages=aitOptions()->getSpecialCustomPages();$esc_html__='esc_html__';if(isset($specialPages[$this->oid])){$title=$esc_html__($specialPages[$this->oid]['label'],'ait-admin');if(isset($specialPages[$
    Possible variable $specialPages found in translation function in admin.min.php. Translation function calls should not contain PHP variables.
    Line 791: getTitle(){$title='';if(aitOptions()->isNormalPageOptions($this->oid)){$title=esc_html($this->getPostTitle());}else{$specialPages=aitOptions()->getSpecialCustomPages();$esc_html__='esc_html__';if(isset($specialPages[$this->oid])){$title=$esc_html__($specialPages[$this->oid]['label'],'ait-admin');if(isset($specialPages[$this->oid]['sub-label'])and!empty($specialPages[$this->oid]['sub-label'])){$title.=' <small>('.$esc_html__($specialPages[$this->oid]['sub-label'],'ait-admin').')</small>';}}}retur
  4. 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.
    Line 1670: NNeonEntity){if($l->value=='_x'and!empty($l->attributes)){$text=$l->attributes[0];$context=$l->attributes[1];$labelText=$esc_html_x($text,$context,$this->textDomain);}}}return$labelText;}function
  5. 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.
    Line 1668: getLabelText(){$labelText='';if(isset($this->config->label)and!empty($this->config->label)){$l=$this->config->label;$labelText='';$esc_html__='esc_html__';$esc_html_x='esc_html_x';if(is_string($l)){$labelText=$esc_html__($l,$this->textDomain);}elseif($l
    Possible variable $specialPages found in translation function in admin.min.php. Translation function calls should not contain PHP variables.
    Line 791: getTitle(){$title='';if(aitOptions()->isNormalPageOptions($this->oid)){$title=esc_html($this->getPostTitle());}else{$specialPages=aitOptions()->getSpecialCustomPages();$esc_html__='esc_html__';if(isset($specialPages[$this->oid])){$title=$esc_html__($specialPages[$this->oid]['label'],'ait-admin');if(isset($specia
    Possible variable $specialPages found in translation function in admin.min.php. Translation function calls should not contain PHP variables.
    Line 791: getTitle(){$title='';if(aitOptions()->isNormalPageOptions($this->oid)){$title=esc_html($this->getPostTitle());}else{$specialPages=aitOptions()->getSpecialCustomPages();$esc_html__='esc_html__';if(isset($specialPages[$this->oid])){$title=$esc_html__($specialPages[$this->oid]['label'],'ait-admin');if(isset($specialPages[$this->oid]['sub-label'])and!empty($specialPages[$this->oid]['sub-label'])){$title.=' <small>('.$esc_html__($specialPages[$this->oid]['sub-label'],'ait-admin').')</small>';
  6. 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.
    Line 1670: NNeonEntity){if($l->value=='_x'and!empty($l->attributes)){$text=$l->attributes[0];$context=$l->attributes[1];$labelText=$esc_html_x($text,$context,$this->textDomain);}}}return$labelText;}function
  7. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  8. 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.
  9. 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.
    Line 3820: <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.
    Line 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
    Line 165: mergeIncludedConfigIfAny($options,$groupKey,$isElements=false){if(isset($options['@include'])){$includedConfig=$this->includeConfig($options['@include'],$grou
    Line 1493: self::enabled()){include_once(WC()->plugin_path().'/includes/admin/class-wc-admin-settings.p
    Line 1543: 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.

This is a ThemeForest theme. Since Themeforest items are all checked by a human before they appear on their website, ThemeForest verification rules are more permissive than themecheck's and can give a better verification score ( Themeforest requirements ).

35
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. Unwanted files : hidden file(s) or folder(s) .htaccess was found.
  3. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was architect-child.zip ait-toolkit.zip ait-sysinfo.zip revslider.zip ait-shortcodes.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.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, default, tgmpa, wplatte.
  3. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  4. 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.
  5. 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.
    Line 3820: <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.
    Line 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
    Line 165: mergeIncludedConfigIfAny($options,$groupKey,$isElements=false){if(isset($options['@include'])){$includedConfig=$this->includeConfig($options['@include'],$grou
    Line 1493: self::enabled()){include_once(WC()->plugin_path().'/includes/admin/class-wc-admin-settings.p
    Line 1543: 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