0
Validation results

Directory Plus

Directory Plus

WordPress 4.9.8 theme
0
    Error 8 : Undefined index: slug
    In /home/www/themecheck/themecheck/controllers/controller_results.php line 772
  • THEME TYPEWordPress theme 4.9.8
  • FILE NAMEdirectory2.zip
  • FILE SIZE12308540 bytes
  • MD5b520f41f1c61dd3f5be428e603d453df
  • SHA1f69768610374c3de17c5c05816936f6c8413f5b1
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • VERSION1.28
  • 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 DATE2016-12-09
  • LAST FILE UPDATE2017-03-05
  • LAST VALIDATION2017-03-05 17:47
  • OTHER VERSIONS

    2.6 : 0%

    2.20 : 0%

    1.59 : 0%

    1.50 : 0%

    1.41 : 0%

    1.3 : 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 OAuth.php.
    Ligne202: $decoded_sig = base64_decode($signature);
    Found base64_decode in file admin.min.php.
    Ligne243: 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 OAuth.php.
     return base64_encode(hash_hmac('sha1', $base_string, $key, true));
     return base64_encode($signature);
    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. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="{videoEmbedUrl $meta-> in file single-portfolio-item.php.
    Ligne22: <iframe src='{videoEmbedUrl $meta->videoUrl}' width='{$vidWidth}' height='{
  5. Malware : Operations on file system fopen was found in the file ait-really-simple-captcha.php
    Ligne172: if ( $fh = @fopen( $answer_file, 'w' ) ) {
    Ligne285: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite was found in the file ait-really-simple-captcha.php
    Ligne179: fwrite( $fh, $code );
    Ligne286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne287: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne289: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne290: fwrite( $handle, '</Files>' . '\n' );
    fclose was found in the file ait-really-simple-captcha.php
    Ligne180: fclose( $fh );
    Ligne291: fclose( $handle );
    file_get_contents was found in the file ait-really-simple-captcha.php
    Ligne201: if ( @is_readable( $file ) && ( $code = file_get_contents( $file ) ) ) {
    fopen was found in the file ait-really-simple-captcha.php
    Ligne172: if ( $fh = @fopen( $answer_file, 'w' ) ) {
    Ligne285: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite was found in the file ait-really-simple-captcha.php
    Ligne179: fwrite( $fh, $code );
    Ligne286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne287: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne289: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne290: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file ait-really-simple-captcha.php
    Ligne179: fwrite( $fh, $code );
    Ligne286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne287: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne289: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne290: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file ait-really-simple-captcha.php
    Ligne179: fwrite( $fh, $code );
    Ligne286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne287: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne289: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne290: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file ait-really-simple-captcha.php
    Ligne179: fwrite( $fh, $code );
    Ligne286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne287: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne289: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne290: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file ait-really-simple-captcha.php
    Ligne179: fwrite( $fh, $code );
    Ligne286: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne287: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne288: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne289: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne290: fwrite( $handle, '</Files>' . '\n' );
    fclose was found in the file ait-really-simple-captcha.php
    Ligne180: fclose( $fh );
    Ligne291: fclose( $handle );
    fopen was found in the file really-simple-captcha.php
    Ligne165: if ( $fh = @fopen( $answer_file, 'w' ) ) {
    Ligne278: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite was found in the file really-simple-captcha.php
    Ligne172: fwrite( $fh, $code );
    Ligne279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne280: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne282: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne283: fwrite( $handle, '</Files>' . '\n' );
    fclose was found in the file really-simple-captcha.php
    Ligne173: fclose( $fh );
    Ligne284: fclose( $handle );
    file_get_contents was found in the file really-simple-captcha.php
    Ligne194: if ( @is_readable( $file ) && ( $code = file_get_contents( $file ) ) ) {
    fopen was found in the file really-simple-captcha.php
    Ligne165: if ( $fh = @fopen( $answer_file, 'w' ) ) {
    Ligne278: if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite was found in the file really-simple-captcha.php
    Ligne172: fwrite( $fh, $code );
    Ligne279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne280: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne282: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne283: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file really-simple-captcha.php
    Ligne172: fwrite( $fh, $code );
    Ligne279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne280: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne282: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne283: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file really-simple-captcha.php
    Ligne172: fwrite( $fh, $code );
    Ligne279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne280: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne282: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne283: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file really-simple-captcha.php
    Ligne172: fwrite( $fh, $code );
    Ligne279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne280: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne282: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne283: fwrite( $handle, '</Files>' . '\n' );
    fwrite was found in the file really-simple-captcha.php
    Ligne172: fwrite( $fh, $code );
    Ligne279: fwrite( $handle, 'Order deny,allow' . '\n' );
    Ligne280: fwrite( $handle, 'Deny from all' . '\n' );
    Ligne281: fwrite( $handle, '<Files ~ '^[0-9A-Za-z]+\\.(jpeg|gif|png)$'>' . '\n' );
    Ligne282: fwrite( $handle, '    Allow from all' . '\n' );
    Ligne283: fwrite( $handle, '</Files>' . '\n' );
    fclose was found in the file really-simple-captcha.php
    Ligne173: fclose( $fh );
    Ligne284: fclose( $handle );
    file_get_contents was found in the file ait-toolkit-override.php
    Ligne140: $icons = json_decode(file_get_contents(aitPath('fonts', $path)))->icons;
    Ligne174: $icons = json_decode(file_get_contents(aitPath('fonts', $path)))->icons;
    file_get_contents was found in the file ait-toolkit-override.php
    Ligne140: $icons = json_decode(file_get_contents(aitPath('fonts', $path)))->icons;
    Ligne174: $icons = json_decode(file_get_contents(aitPath('fonts', $path)))->icons;
    file_get_contents was found in the file OAuth.php
    Ligne272: file_get_contents(self::$POST_INPUT)
    file_get_contents was found in the file framework.min.php
    Ligne287: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne337: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne402: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne496: compile($args){$less=self::create();$inputFileBasename=basename($args['inputFile'],'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($args['params']['oid'])?$args['params']['oid']:'';$lang=isset($args['params']['lang'])?'-{$args['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($cacheFile));}else{$cache=$args['inputFile'];}if($lang){$
    Ligne535: file_get_contents($this->css);?>
    Ligne542: file_get_contents($this->params->js);?>
    Ligne1227: 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
    Ligne2267: 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
    Ligne287: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne337: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne402: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne496: compile($args){$less=self::create();$inputFileBasename=basename($args['inputFile'],'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($args['params']['oid'])?$args['params']['oid']:'';$lang=isset($args['params']['lang'])?'-{$args['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($cacheFile));}else{$cache=$args['inputFile'];}if($lang){$
    Ligne535: file_get_contents($this->css);?>
    Ligne542: file_get_contents($this->params->js);?>
    Ligne1227: 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
    Ligne2267: 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
    Ligne287: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne337: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne402: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne496: compile($args){$less=self::create();$inputFileBasename=basename($args['inputFile'],'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($args['params']['oid'])?$args['params']['oid']:'';$lang=isset($args['params']['lang'])?'-{$args['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($cacheFile));}else{$cache=$args['inputFile'];}if($lang){$
    Ligne535: file_get_contents($this->css);?>
    Ligne542: file_get_contents($this->params->js);?>
    Ligne1227: 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
    Ligne2267: 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
    Ligne287: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne337: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne402: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne496: compile($args){$less=self::create();$inputFileBasename=basename($args['inputFile'],'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($args['params']['oid'])?$args['params']['oid']:'';$lang=isset($args['params']['lang'])?'-{$args['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($cacheFile));}else{$cache=$args['inputFile'];}if($lang){$
    Ligne535: file_get_contents($this->css);?>
    Ligne542: file_get_contents($this->params->js);?>
    Ligne1227: 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
    Ligne2267: 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
    Ligne496: compile($args){$less=self::create();$inputFileBasename=basename($args['inputFile'],'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($args['params']['oid'])?$args['params']['oid']:'';$lang=isset($args['params']['lang'])?'-{$args['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($cacheFile));}else{$cache=$args['inputFile'];}if($lang){$variables['current-lang']=$args['params']['lang'];}$less->setVariables($variables);$result=array('error'=>false,'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($cacheFile,serialize($newCache));$css='';if(AIT_DEV){$css
    Ligne497: as$var=>$value){$css.='@{$var}: {$value}\n';}$css.='*/\n\n';}$written=@file_put_contents($this->cacheDir.$outputFile,$css.$newCache['compiled']);i
    file_put_contents was found in the file framework.min.php
    Ligne496: compile($args){$less=self::create();$inputFileBasename=basename($args['inputFile'],'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($args['params']['oid'])?$args['params']['oid']:'';$lang=isset($args['params']['lang'])?'-{$args['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($cacheFile));}else{$cache=$args['inputFile'];}if($lang){$variables['current-lang']=$args['params']['lang'];}$less->setVariables($variables);$result=array('error'=>false,'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($cacheFile,serialize($newCache));$css='';if(AIT_DEV){$css
    Ligne497: as$var=>$value){$css.='@{$var}: {$value}\n';}$css.='*/\n\n';}$written=@file_put_contents($this->cacheDir.$outputFile,$css.$newCache['compiled']);i
    file_get_contents was found in the file framework.min.php
    Ligne287: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne337: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne402: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne496: compile($args){$less=self::create();$inputFileBasename=basename($args['inputFile'],'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($args['params']['oid'])?$args['params']['oid']:'';$lang=isset($args['params']['lang'])?'-{$args['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($cacheFile));}else{$cache=$args['inputFile'];}if($lang){$
    Ligne535: file_get_contents($this->css);?>
    Ligne542: file_get_contents($this->params->js);?>
    Ligne1227: 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
    Ligne2267: 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
    Ligne287: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne337: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne402: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne496: compile($args){$less=self::create();$inputFileBasename=basename($args['inputFile'],'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($args['params']['oid'])?$args['params']['oid']:'';$lang=isset($args['params']['lang'])?'-{$args['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($cacheFile));}else{$cache=$args['inputFile'];}if($lang){$
    Ligne535: file_get_contents($this->css);?>
    Ligne542: file_get_contents($this->params->js);?>
    Ligne1227: 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
    Ligne2267: 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
    Ligne287: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne337: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne402: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne496: compile($args){$less=self::create();$inputFileBasename=basename($args['inputFile'],'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($args['params']['oid'])?$args['params']['oid']:'';$lang=isset($args['params']['lang'])?'-{$args['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($cacheFile));}else{$cache=$args['inputFile'];}if($lang){$
    Ligne535: file_get_contents($this->css);?>
    Ligne542: file_get_contents($this->params->js);?>
    Ligne1227: 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
    Ligne2267: 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
    Ligne287: array();}if(AitUtils::endsWith($file,'.php')){$config=include$file;}else{$content=@file_get_contents($file);if($content===false){trigger_error('Config file '{
    Ligne337: getStyleLessFileContent(){$file=$this->getStyleLessFile();$content=$file?@file_get_contents($file):'';return$content;}function
    Ligne402: loadFontsFromJson(){if(empty(self::$fontsList)){$content=@file_get_contents(aitPaths()->dir->fwConfig.'/google-fonts.json');if(!$cont
    Ligne496: compile($args){$less=self::create();$inputFileBasename=basename($args['inputFile'],'.less');$v='-'.AIT_THEME_VERSION;$oid=isset($args['params']['oid'])?$args['params']['oid']:'';$lang=isset($args['params']['lang'])?'-{$args['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($cacheFile));}else{$cache=$args['inputFile'];}if($lang){$
    Ligne535: file_get_contents($this->css);?>
    Ligne542: file_get_contents($this->params->js);?>
    Ligne1227: 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
    Ligne2267: control(){$val=$this->getValue();$path=isset($this->config->category)?'/awesome/icons-'.$this->config->category.'.json':'/awesome/icons.json';$icons=json_decode(file_get_contents(aitPath('fonts',$path)))->icons;?>
    file_get_contents was found in the file wplatte.min.php
    Ligne31: removeRawIncludedContent($condition,$content,$template){if($condition){foreach((array)self::$templatesStorage[$template]as$i=>$file){$f=file_get_contents($file);$content=str_replace($f,'',$content);}return$conte
    file_get_contents was found in the file admin.min.php
    Ligne123: 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
    Ligne245: 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
    Ligne123: 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
    Ligne245: 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
    Ligne197: 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
    Ligne123: 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
    Ligne245: importFromFile($whatToImport,$file,$importAttachments=true){$content=@file_get_contents($file);if($content===false)throw
    fopen was found in the file admin.min.php
    Ligne323: 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
    Ligne323: 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
    Ligne323: 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
  6. Malware : Network operations curl_init was found in the file twitteroauth.php
    Ligne195: $ci = curl_init();
    curl_exec was found in the file twitteroauth.php
    Ligne221: $response = curl_exec($ci);
  7. Admin menu : Themes should use add_theme_page() for adding admin pages. File admin.min.php :
    Ligne18: 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 :
    Ligne18: 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'],'publish_pages','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
    File admin.min.php :
    Ligne18: 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'],'publish_pages','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
  8. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was directory2-child.zip ait-toolkit.zip revslider.zip ait-shortcodes.zip.
Warning
  1. theme tags : Presence of bad theme tagsThe tag light has been deprecated, it must be removed from style.css header.The tag white has been deprecated, it must be removed from style.css header.The tag fluid-layout has been deprecated, it must be removed from style.css header.
  2. Text domain : Incorrect use of translation functions.Wrong installation directory for the theme name. The directory name must match the slug of the theme. This theme's correct slug and text-domain is directory-plus.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Required fields are marked %s' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Your email address will not be published.' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Name' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Email' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Item' in file ait-events-pro-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Plugins' in file framework.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Themes' in file framework.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Themes' in file framework.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Plugins' in file framework.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Home' in file framework.min.php.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments in file framework.min.php.Found a translation function that is missing a text-domain. Function esc_html_x, with the arguments in file framework.min.php.Found a translation function that is missing a text-domain. Function _e, with the arguments in file framework.min.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Remove' in file framework.min.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments '&mdash; Select &mdash;' in file framework.min.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'ait-admin' in file framework.min.php.Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments 'Edit Menu Item' in file framework.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments "The uploaded file exceeds the upload_max_filesize directive in php.ini." in file admin.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form." in file admin.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments "The uploaded file was only partially uploaded." in file admin.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments "No file was uploaded." in file admin.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Missing a temporary folder." in file admin.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Failed to write file to disk." in file admin.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments "File upload stopped by extension." in file admin.min.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'ait-admin' in file admin.min.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'ait-admin' in file admin.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Import' in file admin.min.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments in file admin.min.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments in file admin.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'ait-admin' in file admin.min.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'woocommerce' in file review.php.More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs. The domains found are ait-admin, ait, ait-events-pro, ait-advanced-filters, ait-item-reviews, ait-toolkit, ait-amdin, wplatte, woocommerce.
  4. I18N implementation : Proper use of _e(Possible variable $this found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $label found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $params found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $label found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $label found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $label found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $label found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $label found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $label found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $label found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $section found in translation function in admin.min.php. Translation function calls should not contain PHP variables. Possible variable $section found in translation function in admin.min.php. Translation function calls should not contain PHP variables. Possible variable $element found in translation function in admin.min.php. Translation function calls should not contain PHP variables. Possible variable $el found in translation function in admin.min.php. Translation function calls should not contain PHP variables.
  5. I18N implementation : Proper use of ___all(Possible variable $title found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $title found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $l found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $label found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $label 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. Possible variable $title found in translation function in admin.min.php. Translation function calls should not contain PHP variables.
  6. I18N implementation : Proper use of _x(Possible variable $text found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $text found in translation function in framework.min.php. Translation function calls should not contain PHP variables.
  7. I18N implementation : Proper use of esc_html___all(Possible variable $l found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $specialPages found in translation function in admin.min.php. Translation function calls should not contain PHP variables. Possible variable $specialPages found in translation function in admin.min.php. Translation function calls should not contain PHP variables.
  8. I18N implementation : Proper use of esc_html_e(Possible variable $label found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $label found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $label found in translation function in framework.min.php. Translation function calls should not contain PHP variables. Possible variable $element found in translation function in admin.min.php. Translation function calls should not contain PHP variables. Possible variable $el found in translation function in admin.min.php. Translation function calls should not contain PHP variables.
  9. 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.
  10. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  11. 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.
  12. 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. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  2. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  4. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  5. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  6. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  8. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  9. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  10. Use of includes : Use of include or requireThe theme appears to use include or require : twitteroauth.php
    Ligne10: require_once('OAuth.php');
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : framework.min.php
    Ligne249: mergeIncludedConfigIfAny($options,$groupKey,$isElements=false){if(isset($options['@include'])){$includedConfig=$this->includeConfig($options['@include'],$grou
    Ligne965: self::enabled()){include_once(WC()->plugin_path().'/includes/admin/class-wc-admin-settings.p
    Ligne1016: 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