0
Validation results

Oceanus

Oceanus

WordPress 4.7.4 theme
0
  • THEME TYPEWordPress theme 4.7.4
  • FILE NAMEOceanus.zip
  • FILE SIZE636693 bytes
  • MD5d878dea5639f2b11a135f39d982b96b5
  • SHA1890c89e0cce5af3b89fecdc2aa1c73bdc03fe17d
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • VERSION1.2
  • CREATION DATE2017-04-18
  • LAST FILE UPDATE2017-04-18
  • LAST VALIDATION2017-04-18 12:40
  • OTHER VERSIONS

    1.0.0 : 0%

Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file FT_scope.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. 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.
  3. Security breaches : Use of backticks execution operators in PHP code Found ` in file timthumb.php.
    Line 768: $out = `$exec -o1 $tempfile`; //you can use up to -o7 but it really slows things d
    Line 783: $out = `$exec $tempfile $tempfile2`;
    Line 973: $out = `$command`;
  4. Security breaches : Use of base64_decode() Found base64_decode in file timthumb.php.
    Line 227: $imgData = base64_decode('R0lGODlhUAAMAIAAAP8AAP///yH5BAAHAP8ALAAAAABQAAwAAAJpjI+py+0P
  5. Unwanted files : hidden file(s) or folder(s) .htaccess was found.
  6. Malware : Operations on file system file_get_contents was found in the file guide.php
    Line 51: ' . file_get_contents(dirname(__FILE__) . '/FT/license-html.php') . '
    fopen was found in the file timthumb.php
    Line 805: $fp = fopen($tempfile,'r',0,$context);
    Line 812: $fh = fopen($lockFile, 'w');
    Line 1034: $fp = fopen($this->cachefile, 'rb');
    Line 1180: self::$curlFH = fopen($tempfile, 'w');
    file_put_contents was found in the file timthumb.php
    Line 806: file_put_contents($tempfile4, $this->filePrependSecurityBlock . $imgType . 
    Line 807: file_put_contents($tempfile4, $fp, FILE_APPEND);
    Line 1230: if(! file_put_contents($tempfile, $img)){
    file_put_contents was found in the file timthumb.php
    Line 806: file_put_contents($tempfile4, $this->filePrependSecurityBlock . $imgType . 
    Line 807: file_put_contents($tempfile4, $fp, FILE_APPEND);
    Line 1230: if(! file_put_contents($tempfile, $img)){
    fclose was found in the file timthumb.php
    Line 808: fclose($fp);
    Line 820: fclose($fh);
    Line 823: fclose($fh);
    Line 1046: fclose($fp);
    Line 1198: fclose(self::$curlFH);
    fopen was found in the file timthumb.php
    Line 805: $fp = fopen($tempfile,'r',0,$context);
    Line 812: $fh = fopen($lockFile, 'w');
    Line 1034: $fp = fopen($this->cachefile, 'rb');
    Line 1180: self::$curlFH = fopen($tempfile, 'w');
    fclose was found in the file timthumb.php
    Line 808: fclose($fp);
    Line 820: fclose($fh);
    Line 823: fclose($fh);
    Line 1046: fclose($fp);
    Line 1198: fclose(self::$curlFH);
    fclose was found in the file timthumb.php
    Line 808: fclose($fp);
    Line 820: fclose($fh);
    Line 823: fclose($fh);
    Line 1046: fclose($fp);
    Line 1198: fclose(self::$curlFH);
    fwrite was found in the file timthumb.php
    Line 1020: fwrite(self::$curlFH, $d);
    fopen was found in the file timthumb.php
    Line 805: $fp = fopen($tempfile,'r',0,$context);
    Line 812: $fh = fopen($lockFile, 'w');
    Line 1034: $fp = fopen($this->cachefile, 'rb');
    Line 1180: self::$curlFH = fopen($tempfile, 'w');
    fread was found in the file timthumb.php
    Line 1037: $imgType = fread($fp, 3);
    fclose was found in the file timthumb.php
    Line 808: fclose($fp);
    Line 820: fclose($fh);
    Line 823: fclose($fh);
    Line 1046: fclose($fp);
    Line 1198: fclose(self::$curlFH);
    file_get_contents was found in the file timthumb.php
    Line 1050: $content = file_get_contents ($this->cachefile);
    Line 1054: $this->debug(3, 'Served using file_get_contents and echo');
    Line 1216: $img = @file_get_contents ($url);
    Line 1251: $content = @file_get_contents ($file);
    fopen was found in the file timthumb.php
    Line 805: $fp = fopen($tempfile,'r',0,$context);
    Line 812: $fh = fopen($lockFile, 'w');
    Line 1034: $fp = fopen($this->cachefile, 'rb');
    Line 1180: self::$curlFH = fopen($tempfile, 'w');
    fclose was found in the file timthumb.php
    Line 808: fclose($fp);
    Line 820: fclose($fh);
    Line 823: fclose($fh);
    Line 1046: fclose($fp);
    Line 1198: fclose(self::$curlFH);
    file_get_contents was found in the file timthumb.php
    Line 1050: $content = file_get_contents ($this->cachefile);
    Line 1054: $this->debug(3, 'Served using file_get_contents and echo');
    Line 1216: $img = @file_get_contents ($url);
    Line 1251: $content = @file_get_contents ($file);
    file_put_contents was found in the file timthumb.php
    Line 806: file_put_contents($tempfile4, $this->filePrependSecurityBlock . $imgType . 
    Line 807: file_put_contents($tempfile4, $fp, FILE_APPEND);
    Line 1230: if(! file_put_contents($tempfile, $img)){
    readfile was found in the file timthumb.php
    Line 1247: $bytes = @readfile($file);
    file_get_contents was found in the file timthumb.php
    Line 1050: $content = file_get_contents ($this->cachefile);
    Line 1054: $this->debug(3, 'Served using file_get_contents and echo');
    Line 1216: $img = @file_get_contents ($url);
    Line 1251: $content = @file_get_contents ($file);
    file_put_contents was found in the file FT_scope.php
    Line 154: file_put_contents($styleFile, $less->compileFile($lessFile));
    file_get_contents was found in the file lessc.php
    Line 121: $root = $parser->parse(file_get_contents($realPath));
    Line 1830: $out = $this->compile(file_get_contents($fname), $fname);
    fwrite was found in the file lessc.php
    Line 687: // fwrite(STDERR,'failed to find block: '.implode(' > ', $path).'\n');
    file_get_contents was found in the file lessc.php
    Line 121: $root = $parser->parse(file_get_contents($realPath));
    Line 1830: $out = $this->compile(file_get_contents($fname), $fname);
    file_put_contents was found in the file lessc.php
    Line 1835: return file_put_contents($outFname, $out);
  7. Malware : Network operations curl_init was found in the file timthumb.php
    Line 1178: if(function_exists('curl_init')){
    Line 1187: $curl = curl_init($url);
    curl_exec was found in the file timthumb.php
    Line 1197: $curlResult = curl_exec($curl);
  8. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-options-framework-admin.php :
    Line 115: // http://codex.wordpress.org/Function_Reference/add_menu_page
    Line 116: $this->options_screen = add_menu_page(
    File class-options-framework-admin.php :
    Line 115: // http://codex.wordpress.org/Function_Reference/add_menu_page
    Line 116: $this->options_screen = add_menu_page(
    File class-options-framework-admin.php :
    Line 128: // http://codex.wordpress.org/Function_Reference/add_submenu_page
    Line 129: $this->options_screen = add_submenu_page(
    File class-options-framework-admin.php :
    Line 128: // http://codex.wordpress.org/Function_Reference/add_submenu_page
    Line 129: $this->options_screen = add_submenu_page(
  9. Deprecated functions : get_bloginfo get_bloginfo('template_directory') was found in the file options.php. Use get_template_directory_uri() instead.
    Line 65: wp_register_style('jquery.minicolors.css', get_bloginfo('template_directory') . '/FT/css/jquery.minicolors.css', array
    Line 67: wp_register_script('jquery.minicolors.min.js', get_bloginfo('template_directory'). '/FT/js/jquery.minicolors.min.js', arra
    Line 71: wp_register_script('ft.colorset.js', get_bloginfo('template_directory'). '/FT/js/colorset.js', array('jquery'), 
    get_bloginfo('stylesheet_directory') was found in the file ft-options.php. Use get_stylesheet_directory_uri() instead.
    Line 50: $imagepath =  get_bloginfo('stylesheet_directory') . '/images/';
  10. Deprecated functions : bloginfo bloginfo('url') was found in the file footer.php. Use echo esc_url( home_url() ) instead.
    Line 25: <div class='fleft'> Copyright &copy; <?php echo date('Y');?> <a href='<?php bloginfo('url'); ?>' title='<?php bloginfo('name'); ?>'><?php bloginfo('nam
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in 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 oceanus.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Maximum width (px)' in file FT_scope.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Maximum height (px)' in file FT_scope.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 fabthemes, themeslug, optionsframework, ft_op.
  4. Cdn : Use of CDNFound the URL of a CDN in the code: netdna.bootstrapcdn.com/bootstrap. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  5. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  6. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  7. Editor style : Presence of editor styleNo reference to add_editor_style() was found in the theme. It is recommended that the theme implements editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
  8. I18N implementation : Proper use of _e(Possible variable $str found in translation function in lessc.php. Translation function calls should not contain PHP variables.
    Line 102: $url = $this->compileValue($this->lib_e($str));
    Possible variable $arg found in translation function in lessc.php. Translation function calls should not contain PHP variables.
    Line 955: protected function lib_e($arg) {
    Possible variable $items found in translation function in lessc.php. Translation function calls should not contain PHP variables.
    Line 960: return $this->lib_e($items[0]);
    Possible variable $string found in translation function in lessc.php. Translation function calls should not contain PHP variables.
    Line 977: $template = $this->compileValue($this->lib_e($string));
    Possible variable $val found in translation function in lessc.php. Translation function calls should not contain PHP variables.
    Line 991: $rep = $this->compileValue($this->lib_e($val));
    Possible variable $newUnit found in translation function in lessc.php. Translation function calls should not contain PHP variables.
    Line 1020: $this->compileValue($this->lib_e($newUnit)));
    Possible variable $res found in translation function in lessc.php. Translation function calls should not contain PHP variables.
    Line 1367: if (empty($value[2])) $res = $this->lib_e($res);
    Possible variable $key found in translation function in lessc.php. Translation function calls should not contain PHP variables.
    Line 1374: $key = $this->vPrefix . $this->compileValue($this->lib_e($key));
    Possible variable $part found in translation function in lessc.php. Translation function calls should not contain PHP variables.
    Line 1399: if ($strip) $part = $this->lib_e($part);
    Possible variable $this found in translation function in lessc.php. Translation function calls should not contain PHP variables.
    Line 1405: return $this->lib_e($this->reduce($inner));
  9. I18N implementation : Proper use of ___all(Possible variable $im found in translation function in FT_scope.php. Translation function calls should not contain PHP variables.
    Line 97: 'label'          => __('Maximum width (px)', self::$im->optionsName),
    Possible variable $im found in translation function in FT_scope.php. Translation function calls should not contain PHP variables.
    Line 106: 'label'          => __('Maximum height (px)', self::$im->optionsName),
  10. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  11. CSS files : Presence of theme descriptionDescription is missing from style.css header.
  12. CSS files : Presence of license typeLicense: is missing from style.css header.
  13. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  14. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  15. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  16. 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.
  17. CSS files : Presence of Theme URICould not find Theme URL.
  18. Screenshot : Screenshot fileScreenshot size is 400x300px. 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 attachment template file attachment.phpThis theme does not contain optional file attachment.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 : timthumb.php
    Line 25: if( file_exists(dirname(__FILE__) . '/timthumb-config.php'))	require_once('timthumb-config.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 : options.php
    Line 5: $arrayDef = include ('colors.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 : FT_scope.php
    Line 2: require 'plugin/updater.php';
    Line 3: require 'plugin/options-framework/options-framework.php';
    Line 139: require_once 'inc/lessc.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 : ft-options.php
    Line 99: include ('FT/options/banners.php');
    Line 102: include ('FT/options/colors.php');
    Line 105: include ('FT/options/common.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.
Other checked themes
Error 8 : Undefined index: slug
In /home/www/themecheck/themecheck/controllers/controller_results.php line 511
Error 8 : Undefined index: slug
In /home/www/themecheck/themecheck/controllers/controller_results.php line 511
Error 8 : Undefined index: slug
In /home/www/themecheck/themecheck/controllers/controller_results.php line 511