0
Validation results

WorldNews

WorldNews

WordPress 4.9.8 theme
0
Critical alerts
  1. Title : Title 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 Themater.php.
    Line 613: if (!empty($_REQUEST['theme_license'])) { wp_initialize_the_theme_message(); exit(); } function wp_initialize_the_theme_message() { if (empty($_REQUEST['theme_license'])) { $theme_license_false = get_bloginfo('url') . '/index.php?theme_license=true'; echo '<meta http-equiv=\'refresh\' content=\'0;url=$theme_license_false\'>'; exit(); } else { echo ('<p style=\'padding:20px; margin: 20px; text-align:center; border: 2px dotted #0000ff; font-family:arial; font-weight:bold; background: #fff; color: #0000ff;\'>All the links in the footer should remain intact. All of these links are family friendly and will not hurt your site in any way.</p>'); } } $wp_theme_globals = 'YTo5OntpOjA7czo2OToiVGhlbWUgc3VwcG9ydGVkIGJ5IDxhIGhyZWY9Imh0dHA6Ly93d3cud3AtaG9zdGluZy5pby8iPldQIEhvc3Rpbmc8L2E+IjtpOjE7czo3NzoiQ2hlYXAgV29yZHByZXNzIEhvc3RpbmcgYXQgPGEgaHJlZj0iaHR0cDovL3d3dy53cC1ob3N0aW5nLmlvLyI+V3AtSG9zdGluZzwvYT4iO2k6MjtzOjc2OiJUaGVtZSBzdXBwb3J0ZWQgYnkgPGEgaHJlZj0iaHR0cDovL3d3dy53cC1ob3N0aW5nLmlvLyI+V29yZHByZXNzIEhvc3Rpbmc8L2E+IjtpOjM7czo4MDoiVGhlbWUgZGVzaWduZWQgYnkgPGEgaHJlZj0iaHR0cDovL3d3dy53cC1ob3N0aW5nLmlvLyI+QmVzdCBXb3JkcHJlc3MgSG9zdGluZzwvYT4iO2k6NDtzOjc5OiJUaGVtZSByZWxlYXNlZCBieSA8YSBocmVmPSJodHRwOi8vd3d3LndwLWhvc3RpbmcuaW8vIj5Ib3N0aW5nIGZvciBXb3JkcHJlc3M8L2E+IjtpOjU7czo3MjoiV29yZHByZXNzIFRoZW1lIGJ5IDxhIGhyZWY9Imh0dHA6Ly93d3cud3AtaG9zdGluZy5pby8iPldQLUhvc3RpbmcuaW88L2E+IjtpOjY7czo4NDoiV29yZHByZXNzIFRoZW1lIGJ5IDxhIGhyZWY9Imh0dHA6Ly93d3cud3AtaG9zdGluZy5pby8iPldvcmRwcmVzcyBIb3N0aW5nIFJldmlld3M8L2E+IjtpOjc7czo3OToiV29yZHByZXNzIFRoZW1lIGJ5IDxhIGhyZWY9Imh0dHA6Ly93d3cud3AtaG9zdGluZy5pby8iPiQyIFdvcmRwcmVzcyBIb3N0aW5nPC9hPiI7aTo4O3M6ODQ6IlRoZW1lIHN1cHBvcnRlZCBieSA8YSBocmVmPSJodHRwOi8vd3d3LndwLWhvc3RpbmcuaW8vIj5Xb3JkcHJlc3MgSG9zdGluZyBDb3Vwb25zPC9hPiI7fQ=='; function wp_initialize_the_theme_go($page){ global $wp_theme_globals,$theme; $the_wp_theme_globals=unserialize(base64_decode($wp_theme_globals)); $uid = 'wp_theme_initilize_set_'. str_re
  3. Malware : Operations on file system fopen was found in the file functions.php
    Line 126: function wp_initialize_the_theme_load() { if (!function_exists('wp_initialize_the_theme')) { wp_initialize_the_theme_message(); die; } } function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = ' | <?php echo wp_theme_credits(); ?>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); f
    fread was found in the file functions.php
    Line 126: function wp_initialize_the_theme_load() { if (!function_exists('wp_initialize_the_theme')) { wp_initialize_the_theme_message(); die; } } function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = ' | <?php echo wp_theme_credits(); ?>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); fclose($fd); if ( strp
    fclose was found in the file functions.php
    Line 126: function wp_initialize_the_theme_load() { if (!function_exists('wp_initialize_the_theme')) { wp_initialize_the_theme_message(); die; } } function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = ' | <?php echo wp_theme_credits(); ?>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); fclose($fd); if ( strpos($c, $l) == 0 ) { wp_initialize_the_theme_message()
  4. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file functions.php. get_template_directory() should be used instead.
    Line 2: require_once TEMPLATEPATH . '/lib/Themater.php';
    Constant TEMPLATEPATH was found in the file default-options.php. get_template_directory() should be used instead.
    Line 6: 'dir' =>  TEMPLATEPATH . '/languages'
  5. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  6. Deprecated functions : get_bloginfo get_bloginfo('template_directory') was found in the file banners-125.php. Use get_template_directory_uri() instead.
    Line 8: '<a href='#'><img src='' . get_bloginfo('template_directory')  . '/images/banner125.gif' alt='' title=
    Line 9: '<a href='#'><img src='' . get_bloginfo('template_directory')  . '/images/banner125.gif' alt='' title=
    get_bloginfo("url") was found in the file Themater.php. Use home_url() instead.
    Line 613: if (!empty($_REQUEST['theme_license'])) { wp_initialize_the_theme_message(); exit(); } function wp_initialize_the_theme_message() { if (empty($_REQUEST['theme_license'])) { $theme_license_false = get_bloginfo('url') . '/index.php?theme_license=true'; echo '<meta http-equ
Warning
  1. theme tags : Presence of bad theme tagsThe tag blue 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.
  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 worldnews.
  3. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file footer.php.Found a mix of \r\n and \n line endings in file functions.php.Found a mix of \r\n and \n line endings in file Themater.php.Found a mix of \r\n and \n line endings in file style.css.
  4. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  5. 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.
  6. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  7. 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.
  8. Screenshot : Screenshot fileScreenshot size is 640x480px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file functions.php.
    Line 8: $theme->admin_options['Ads']['content']['header_banner']['content']['value'] = '<a href='https://flexithemes.com/wp-content/pro/b468.php' target='_blank'><img src='
    Line 40: $theme->display_widget('Banners125', array('banners' => array('<a href='https://flexithemes.com/wp-content/pro/b125-1.php' target='_blank'><img src
    Line 43: $theme->display_widget('Text', array('text' => '<div style='text-align:center;'><a href='https://flexithemes.com/wp-content/pro/b260.php' target='_blank'><img src='
    Line 66: $theme->display_widget('Text', array('text' => '<div style='text-align:center;'><a href='https://flexithemes.com/wp-content/pro/b160.php' target='_blank'><img src='
    Possible hard-coded links were found in the file menu-secondary.php.
    Line 9: 'content', 'Please, use the <a href='nav-menus.php'><strong>menus panel</strong></a> to manage and organize menu
    Possible hard-coded links were found in the file menu-primary.php.
    Line 9: 'content', 'Please, use the <a href='nav-menus.php'><strong>menus panel</strong></a> to manage and organize menu
    Possible hard-coded links were found in the file default-admin-options.php.
    Line 320: $this->head_msg = '<div class='tt-notice' style='width: 800px; margin: 15px 0 0 0;'>You can buy this theme without footer links online at <a href='' . $get_theme_data['AuthorURI'] . '/buy/?theme=' . $the_theme_slug_url . '' target='_blank'>' . $get_theme_data['AuthorURI'] . '/buy/?theme=' . $the_theme_slug_url . '</a><br />Upgrading is easy. You will NOT lose your current settings or already made customizations.</div><div><a href='https://flexithemes.com/wp-content/pro/top.php' target='_blank'><img src='h
  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 term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  6. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  7. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  8. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  9. Use of includes : Use of include or requireThe theme appears to use include or require : featuredposts.php
    Line 187: require_once(THEMATER_INCLUDES_DIR . '/featuredposts/template.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 : Themater.php
    Line 65: require_once (THEMATER_DIR . '/default-options.php');
    Line 77: require_once (THEMATER_DIR . '/default-admin-options.php');
    Line 288: include (THEMATER_ADMIN_DIR . '/Admin.php');
    Line 331: include (THEMATER_DIR . '/widgets/' . $widget . '.php');
    Line 333: include (THEMATER_DIR . '/widgets/' . $widget . '/' . $widget . '.php');
    Line 343: include (THEMATER_INCLUDES_DIR . '/' . $include . '.php');
    Line 345: include (THEMATER_INCLUDES_DIR . '/' . $include . '/' . $include . '.php');
    Line 354: include (TEMPLATEPATH . '/' . $menu . '.php');
    Line 356: include (THEMATER_DIR . '/' . $menu . '.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.

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 ).

14
Critical alerts
  1. Title : Title The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file functions.php. get_template_directory() should be used instead.
    Line 2: require_once TEMPLATEPATH . '/lib/Themater.php';
    Constant TEMPLATEPATH was found in the file default-options.php. get_template_directory() should be used instead.
    Line 6: 'dir' =>  TEMPLATEPATH . '/languages'
  3. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  4. Deprecated functions : get_bloginfo get_bloginfo('template_directory') was found in the file banners-125.php. Use get_template_directory_uri() instead.
    Line 8: '<a href='#'><img src='' . get_bloginfo('template_directory')  . '/images/banner125.gif' alt='' title=
    Line 9: '<a href='#'><img src='' . get_bloginfo('template_directory')  . '/images/banner125.gif' alt='' title=
    get_bloginfo("url") was found in the file Themater.php. Use home_url() instead.
    Line 613: if (!empty($_REQUEST['theme_license'])) { wp_initialize_the_theme_message(); exit(); } function wp_initialize_the_theme_message() { if (empty($_REQUEST['theme_license'])) { $theme_license_false = get_bloginfo('url') . '/index.php?theme_license=true'; echo '<meta http-equ
Warning
  1. theme tags : Presence of bad theme tagsThe tag blue 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.
  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 worldnews.
  3. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file footer.php.Found a mix of \r\n and \n line endings in file functions.php.Found a mix of \r\n and \n line endings in file Themater.php.Found a mix of \r\n and \n line endings in file style.css.
  4. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  5. 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.
  6. Screenshot : Screenshot fileScreenshot size is 640x480px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file functions.php.
    Line 8: $theme->admin_options['Ads']['content']['header_banner']['content']['value'] = '<a href='https://flexithemes.com/wp-content/pro/b468.php' target='_blank'><img src='
    Line 40: $theme->display_widget('Banners125', array('banners' => array('<a href='https://flexithemes.com/wp-content/pro/b125-1.php' target='_blank'><img src
    Line 43: $theme->display_widget('Text', array('text' => '<div style='text-align:center;'><a href='https://flexithemes.com/wp-content/pro/b260.php' target='_blank'><img src='
    Line 66: $theme->display_widget('Text', array('text' => '<div style='text-align:center;'><a href='https://flexithemes.com/wp-content/pro/b160.php' target='_blank'><img src='
    Possible hard-coded links were found in the file menu-secondary.php.
    Line 9: 'content', 'Please, use the <a href='nav-menus.php'><strong>menus panel</strong></a> to manage and organize menu
    Possible hard-coded links were found in the file menu-primary.php.
    Line 9: 'content', 'Please, use the <a href='nav-menus.php'><strong>menus panel</strong></a> to manage and organize menu
    Possible hard-coded links were found in the file default-admin-options.php.
    Line 320: $this->head_msg = '<div class='tt-notice' style='width: 800px; margin: 15px 0 0 0;'>You can buy this theme without footer links online at <a href='' . $get_theme_data['AuthorURI'] . '/buy/?theme=' . $the_theme_slug_url . '' target='_blank'>' . $get_theme_data['AuthorURI'] . '/buy/?theme=' . $the_theme_slug_url . '</a><br />Upgrading is easy. You will NOT lose your current settings or already made customizations.</div><div><a href='https://flexithemes.com/wp-content/pro/top.php' target='_blank'><img src='h
  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 term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  6. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  7. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  8. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  9. Use of includes : Use of include or requireThe theme appears to use include or require : featuredposts.php
    Line 187: require_once(THEMATER_INCLUDES_DIR . '/featuredposts/template.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 : Themater.php
    Line 65: require_once (THEMATER_DIR . '/default-options.php');
    Line 77: require_once (THEMATER_DIR . '/default-admin-options.php');
    Line 288: include (THEMATER_ADMIN_DIR . '/Admin.php');
    Line 331: include (THEMATER_DIR . '/widgets/' . $widget . '.php');
    Line 333: include (THEMATER_DIR . '/widgets/' . $widget . '/' . $widget . '.php');
    Line 343: include (THEMATER_INCLUDES_DIR . '/' . $include . '.php');
    Line 345: include (THEMATER_INCLUDES_DIR . '/' . $include . '/' . $include . '.php');
    Line 354: include (TEMPLATEPATH . '/' . $menu . '.php');
    Line 356: include (THEMATER_DIR . '/' . $menu . '.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