11
Validation results

Genesis

Genesis

WordPress 4.9.6 theme
11
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file customizer.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.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  3. Malware : Operations on file system file_get_contents was found in the file import-export.php
    Line 351: $upload = file_get_contents( $_FILES['genesis-import-upload']['tmp_name'] );
  4. Admin menu : Themes should use add_theme_page() for adding admin pages. File admin.php :
    Line 177: $this->pagehook = add_menu_page( $menu['page_title'], $menu['menu_title'], $menu['capability'
    File admin.php :
    Line 208: $this->pagehook = add_submenu_page( $this->page_id, $menu['page_title'], $menu['menu_title'],
    Line 232: $this->pagehook = add_submenu_page( $menu['parent_slug'], $menu['page_title'], $menu['menu_ti
    File admin.php :
    Line 208: $this->pagehook = add_submenu_page( $this->page_id, $menu['page_title'], $menu['menu_title'],
    Line 232: $this->pagehook = add_submenu_page( $menu['parent_slug'], $menu['page_title'], $menu['menu_ti
Warning
  1. theme tags : Presence of bad theme tagsThe tag black has been deprecated, it must be removed from style.css header.The tag orange 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 responsive-layout has been deprecated, it must be removed from style.css header.Themes that use the tag accessibility-ready will need to undergo an accessibility review.
    See https://make.wordpress.org/themes/handbook/review/accessibility/
  2. Cdn : Use of CDNFound the URL of a CDN in the code: html5shiv.googlecode.com/svn/trunk/html5.js. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  3. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  4. Custom elements : Presence of custom backgroundNo reference to custom background 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. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  7. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  8. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  9. 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 footer.php.
    Line 179: $output = $atts['before'] . ' <a href='http://www.studiopress.com/'>StudioPress</a>' . $atts['after'];
    Possible hard-coded links were found in the file import-export.php.
    Line 100: '<p><a href='http://my.studiopress.com/help/' target='_blank'>' . __( 'Get Support', 'ge
    Line 101: '<p><a href='http://my.studiopress.com/snippets/' target='_blank'>' . __( 'Genesis Snipp
    Line 102: '<p><a href='http://my.studiopress.com/tutorials/' target='_blank'>' . __( 'Genesis Tuto
    Possible hard-coded links were found in the file inpost-metaboxes.php.
    Line 55: <p><label for='genesis_canonical'><strong><?php _e( 'Custom Canonical URL', 'genesis' ); ?></strong> <a href='http://www.mattcutts.com/blog/canonical-link-tag/' target='_blank' title='&
    Line 67: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'noindex' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 70: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'nofollow' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 73: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'noarchive' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 67: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'noindex' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 70: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'nofollow' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 73: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'noarchive' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 67: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'noindex' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 70: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'nofollow' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 73: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'noarchive' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Possible hard-coded links were found in the file seo-settings.php.
    Line 239: '<p><a href='http://my.studiopress.com/help/' target='_blank'>' . __( 'Get Support', 'ge
    Line 240: '<p><a href='http://my.studiopress.com/snippets/' target='_blank'>' . __( 'Genesis Snipp
    Line 241: '<p><a href='http://my.studiopress.com/tutorials/' target='_blank'>' . __( 'Genesis Tuto
    Possible hard-coded links were found in the file whats-new.php.
    Line 87: <a href='http://twitter.com/nathanrice'><img src='//0.gravatar.com/avatar/fdbd4b13e3
    Line 88: <a class='web' href='http://twitter.com/nathanrice'>Nathan Rice</a>
    Line 92: <a href='http://twitter.com/bgardner'><img src='//0.gravatar.com/avatar/c845c86ebe39
    Line 93: <a class='web' href='http://twitter.com/bgardner'>Brian Gardner</a>
    Possible hard-coded links were found in the file cpt-archive-settings.php.
    Line 202: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'noindex' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 205: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'nofollow' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 208: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'noarchive' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 202: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'noindex' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 205: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'nofollow' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 208: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'noarchive' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 202: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'noindex' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 205: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'nofollow' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 208: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'noarchive' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Possible hard-coded links were found in the file theme-settings.php.
    Line 394: '<p><a href='http://my.studiopress.com/help/' target='_blank'>' . __( 'Get Support', 'ge
    Line 395: '<p><a href='http://my.studiopress.com/snippets/' target='_blank'>' . __( 'Genesis Snipp
    Line 396: '<p><a href='http://my.studiopress.com/tutorials/' target='_blank'>' . __( 'Genesis Tuto
    Possible hard-coded links were found in the file deprecated.php.
    Line 302: $text = preg_replace( '/@(\w+)/', '<a href='http://www.twitter.com/\\1' target='_blank'>@\\1</a>', $text );
    Line 303: $text = preg_replace( '/#(\w+)/', '<a href='http://search.twitter.com/search?q=\\1' target='_blank'>#\\1</a>', $text );
  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 category template file category.phpThis theme does not contain optional file category.php.
  6. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  7. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  8. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  9. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  10. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : init.php
    Line 187: require_once( GENESIS_LIB_DIR . '/framework.php' );
    Line 190: require_once( GENESIS_CLASSES_DIR . '/admin.php' );
    Line 192: require_once( GENESIS_CLASSES_DIR . '/sanitization.php' );
    Line 195: require_once( GENESIS_FUNCTIONS_DIR . '/upgrade.php' );
    Line 196: require_once( GENESIS_FUNCTIONS_DIR . '/compat.php' );
    Line 197: require_once( GENESIS_FUNCTIONS_DIR . '/general.php' );
    Line 198: require_once( GENESIS_FUNCTIONS_DIR . '/options.php' );
    Line 199: require_once( GENESIS_FUNCTIONS_DIR . '/image.php' );
    Line 200: require_once( GENESIS_FUNCTIONS_DIR . '/markup.php' );
    Line 202: require_once( GENESIS_FUNCTIONS_DIR . '/menu.php' );
    Line 203: require_once( GENESIS_FUNCTIONS_DIR . '/layout.php' );
    Line 204: require_once( GENESIS_FUNCTIONS_DIR . '/formatting.php' );
    Line 205: require_once( GENESIS_FUNCTIONS_DIR . '/seo.php' );
    Line 206: require_once( GENESIS_FUNCTIONS_DIR . '/widgetize.php' );
    Line 207: require_once( GENESIS_FUNCTIONS_DIR . '/feed.php' );
    Line 209: require_once( GENESIS_FUNCTIONS_DIR . '/deprecated.php' );
    Line 212: require_once( GENESIS_SHORTCODES_DIR . '/post.php' );
    Line 213: require_once( GENESIS_SHORTCODES_DIR . '/footer.php' );
    Line 216: require_once( GENESIS_STRUCTURE_DIR . '/header.php' );
    Line 217: require_once( GENESIS_STRUCTURE_DIR . '/footer.php' );
    Line 218: require_once( GENESIS_STRUCTURE_DIR . '/menu.php' );
    Line 219: require_once( GENESIS_STRUCTURE_DIR . '/layout.php' );
    Line 220: require_once( GENESIS_STRUCTURE_DIR . '/post.php' );
    Line 221: require_once( GENESIS_STRUCTURE_DIR . '/loops.php' );
    Line 222: require_once( GENESIS_STRUCTURE_DIR . '/comments.php' );
    Line 223: require_once( GENESIS_STRUCTURE_DIR . '/sidebar.php' );
    Line 224: require_once( GENESIS_STRUCTURE_DIR . '/archive.php' );
    Line 225: require_once( GENESIS_STRUCTURE_DIR . '/search.php' );
    Line 229: require_once( GENESIS_ADMIN_DIR . '/menu.php' );
    Line 230: require_once( GENESIS_ADMIN_DIR . '/theme-settings.php' );
    Line 231: require_once( GENESIS_ADMIN_DIR . '/seo-settings.php' );
    Line 232: require_once( GENESIS_ADMIN_DIR . '/cpt-archive-settings.php' );
    Line 233: require_once( GENESIS_ADMIN_DIR . '/import-export.php' );
    Line 234: require_once( GENESIS_ADMIN_DIR . '/inpost-metaboxes.php' );
    Line 235: require_once( GENESIS_ADMIN_DIR . '/whats-new.php' );
    Line 237: require_once( GENESIS_ADMIN_DIR . '/customizer.php' );
    Line 238: require_once( GENESIS_ADMIN_DIR . '/term-meta.php' );
    Line 239: require_once( GENESIS_ADMIN_DIR . '/user-meta.php' );
    Line 242: require_once( GENESIS_JS_DIR . '/load-scripts.php' );
    Line 245: require_once( GENESIS_CSS_DIR . '/load-styles.php' );
    Line 248: require_once( GENESIS_WIDGETS_DIR . '/widgets.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 : widgets.php
    Line 15: require_once( GENESIS_WIDGETS_DIR . '/user-profile-widget.php' );
    Line 16: require_once( GENESIS_WIDGETS_DIR . '/featured-post-widget.php' );
    Line 17: require_once( GENESIS_WIDGETS_DIR . '/featured-page-widget.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