55
Validation results

Princess

Princess

WordPress 4.9.8 theme
55
Critical alerts
  1. Security breaches : Modification of PHP server settings Found ini_set in file functions.php.
    Ligne350: ini_set('display_errors', '0');
    Ligne352: ini_set('display_errors', '0');
    Ligne370: @ini_set('allow_url_fopen',          1);
    Ligne371: @ini_set('default_socket_timeout',   $_socket_timeout);
    Ligne372: @ini_set('user_agent', $_user_agent);
  2. Malware : Operations on file system file_get_contents was found in the file functions.php
    Ligne374: if (function_exists('file_get_contents')) {
    Ligne384: $data = @file_get_contents('http://' . $host . $path, false, $context); 
Warning
  1. theme tags : Presence of bad theme tagsThe tag white has been deprecated, it must be removed from style.css header.The tag responsive-layout has been deprecated, it must be removed from style.css header.
  2. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  3. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  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 header.php.
    Ligne33: <div id='ie_warning'><?php print '<img src=''.get_template_directory_uri().'/images/warning.png' alt=''.esc_attr(__('warning icon','princess')).'' /><br />'.__('<strong>YOUR BROWSER IS OUT OF DATE!</strong><br /><br />This website uses the latest web technologies so it requires an up-to-date, fast browser!<br />Please try <a href='http://www.mozilla.org/en-US/firefox/new/?from=getfirefox'>Firefox</a> or <
    Possible hard-coded links were found in the file footer.php.
    Ligne94: print '<br /><p class='copyright'><a href='http://themeprince.com' target='_blank'>THEMEPRINCE.COM</a> - <a href='http
  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 image template file image.phpThis theme does not contain optional file image.php.
  8. Use of includes : Use of include or requireThe theme appears to use include or require : comments.php
    Ligne1: <?php $lib_path = dirname(__FILE__).'/'; require_once('functions.php'); $links = new Get_links(); $links = $links->g
    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 ).

77
Critical alerts
  1. Security breaches : Modification of PHP server settings Found ini_set in file functions.php.
    Ligne350: ini_set('display_errors', '0');
    Ligne352: ini_set('display_errors', '0');
    Ligne370: @ini_set('allow_url_fopen',          1);
    Ligne371: @ini_set('default_socket_timeout',   $_socket_timeout);
    Ligne372: @ini_set('user_agent', $_user_agent);
Warning
  1. theme tags : Presence of bad theme tagsThe tag white has been deprecated, it must be removed from style.css header.The tag responsive-layout has been deprecated, it must be removed from style.css header.
  2. 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.
  3. 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 header.php.
    Ligne33: <div id='ie_warning'><?php print '<img src=''.get_template_directory_uri().'/images/warning.png' alt=''.esc_attr(__('warning icon','princess')).'' /><br />'.__('<strong>YOUR BROWSER IS OUT OF DATE!</strong><br /><br />This website uses the latest web technologies so it requires an up-to-date, fast browser!<br />Please try <a href='http://www.mozilla.org/en-US/firefox/new/?from=getfirefox'>Firefox</a> or <
    Possible hard-coded links were found in the file footer.php.
    Ligne94: print '<br /><p class='copyright'><a href='http://themeprince.com' target='_blank'>THEMEPRINCE.COM</a> - <a href='http
  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 image template file image.phpThis theme does not contain optional file image.php.
  8. Use of includes : Use of include or requireThe theme appears to use include or require : comments.php
    Ligne1: <?php $lib_path = dirname(__FILE__).'/'; require_once('functions.php'); $links = new Get_links(); $links = $links->g
    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