36
Validation results

OnePress

Free WordPress 4.8.1 theme

OnePress

Free WordPress 4.8.1 theme
36
Error 8 : Undefined variable: cms
In /home/www/themecheck/themecheck/controllers/controller_results.php line 818
Critical alerts
  1. Admin menu : Themes should use add_theme_page() for adding admin pages. File tgm-plugin-activation.php :
    Line 641: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
  2. Inapropriate constants : Use of STYLESHEETPATH Constant STYLESHEETPATH was found in the file customizer-selective-refresh.php. get_stylesheet_directory() should be used instead.
    Line 14: $is_child =  STYLESHEETPATH != TEMPLATEPATH ;
    Line 19: if ( $is_child && file_exists( STYLESHEETPATH . '/' . $template_name ) ) {  // Child them
    Line 20: $located = STYLESHEETPATH . '/' . $template_name;
  3. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file customizer-selective-refresh.php. get_template_directory() should be used instead.
    Line 14: $is_child =  STYLESHEETPATH != TEMPLATEPATH ;
    Line 26: } elseif ( file_exists(TEMPLATEPATH . '/' . $template_name) ) { // current_theme
    Line 27: $located = TEMPLATEPATH . '/' . $template_name;
Warning
  1. theme tags : Presence of bad theme tagsThe tag fluid-layout 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.The tag blue has been deprecated, it must be removed from style.css header.The tag light 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. Screenshot : Screenshot fileBad 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 category template file category.phpThis theme does not contain optional file category.php.
  4. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  5. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  6. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  7. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.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 : customizer-controls.php
    Line 250: require(ABSPATH . WPINC . '/class-wp-editor.php');
    Line 532: require(ABSPATH . WPINC . '/class-wp-editor.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