9
Validation results

Genesis - wpsliv.ru

Genesis - wpsliv.ru

WordPress 4.9.8 theme
9
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.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.
  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 genesis-wpsliv-ru.
  3. 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.
  4. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  5. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  6. 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.
  7. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  8. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  9. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  10. 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.
  11. 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'><b><?php _e( 'Custom Canonical URL', 'genesis' ); ?></b> <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'>[?]</a></label
    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'>[?]</a></label
    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'>[?]</a></label
    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'>[?]</a></label
    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'>[?]</a></label
    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'>[?]</a></label
    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'>[?]</a></label
    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'>[?]</a></label
    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'>[?]</a></label
    Possible hard-coded links were found in the file seo-settings.php.
    Line 251: '<p><a href='http://my.studiopress.com/help/' target='_blank'>' . __( 'Get Support', 'ge
    Line 252: '<p><a href='http://my.studiopress.com/snippets/' target='_blank'>' . __( 'Genesis Snipp
    Line 253: '<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 98: <a href='http://twitter.com/nathanrice'><img src='//0.gravatar.com/avatar/fdbd4b13e3
    Line 99: <a class='web' href='http://twitter.com/nathanrice'>Nathan Rice</a>
    Line 103: <a href='http://twitter.com/sillygrampy'><img src='//0.gravatar.com/avatar/7b8ff059b
    Line 104: <a class='web' href='http://twitter.com/sillygrampy'>Ron Rennick</a>
    Line 108: <a href='http://twitter.com/bgardner'><img src='//0.gravatar.com/avatar/c845c86ebe39
    Line 109: <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 196: <?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 199: <?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 202: <?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 196: <?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 199: <?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 202: <?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 196: <?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 199: <?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 202: <?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 159: $text = preg_replace( '/@(\w+)/', '<a href='http://www.twitter.com/\\1' target='_blank'>@\\1</a>', $text );
    Line 160: $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 168: require_once( GENESIS_LIB_DIR . '/framework.php' );
    Line 171: require_once( GENESIS_CLASSES_DIR . '/admin.php' );
    Line 173: require_once( GENESIS_CLASSES_DIR . '/sanitization.php' );
    Line 176: require_once( GENESIS_FUNCTIONS_DIR . '/upgrade.php' );
    Line 177: require_once( GENESIS_FUNCTIONS_DIR . '/compat.php' );
    Line 178: require_once( GENESIS_FUNCTIONS_DIR . '/general.php' );
    Line 179: require_once( GENESIS_FUNCTIONS_DIR . '/options.php' );
    Line 180: require_once( GENESIS_FUNCTIONS_DIR . '/image.php' );
    Line 181: require_once( GENESIS_FUNCTIONS_DIR . '/markup.php' );
    Line 183: require_once( GENESIS_FUNCTIONS_DIR . '/menu.php' );
    Line 184: require_once( GENESIS_FUNCTIONS_DIR . '/layout.php' );
    Line 185: require_once( GENESIS_FUNCTIONS_DIR . '/formatting.php' );
    Line 186: require_once( GENESIS_FUNCTIONS_DIR . '/seo.php' );
    Line 187: require_once( GENESIS_FUNCTIONS_DIR . '/widgetize.php' );
    Line 188: require_once( GENESIS_FUNCTIONS_DIR . '/feed.php' );
    Line 190: require_once( GENESIS_FUNCTIONS_DIR . '/deprecated.php' );
    Line 193: require_once( GENESIS_SHORTCODES_DIR . '/post.php' );
    Line 194: require_once( GENESIS_SHORTCODES_DIR . '/footer.php' );
    Line 197: require_once( GENESIS_STRUCTURE_DIR . '/header.php' );
    Line 198: require_once( GENESIS_STRUCTURE_DIR . '/footer.php' );
    Line 199: require_once( GENESIS_STRUCTURE_DIR . '/menu.php' );
    Line 200: require_once( GENESIS_STRUCTURE_DIR . '/layout.php' );
    Line 201: require_once( GENESIS_STRUCTURE_DIR . '/post.php' );
    Line 202: require_once( GENESIS_STRUCTURE_DIR . '/loops.php' );
    Line 203: require_once( GENESIS_STRUCTURE_DIR . '/comments.php' );
    Line 204: require_once( GENESIS_STRUCTURE_DIR . '/sidebar.php' );
    Line 205: require_once( GENESIS_STRUCTURE_DIR . '/archive.php' );
    Line 206: require_once( GENESIS_STRUCTURE_DIR . '/search.php' );
    Line 210: require_once( GENESIS_ADMIN_DIR . '/menu.php' );
    Line 211: require_once( GENESIS_ADMIN_DIR . '/theme-settings.php' );
    Line 212: require_once( GENESIS_ADMIN_DIR . '/seo-settings.php' );
    Line 213: require_once( GENESIS_ADMIN_DIR . '/cpt-archive-settings.php' );
    Line 214: require_once( GENESIS_ADMIN_DIR . '/import-export.php' );
    Line 215: require_once( GENESIS_ADMIN_DIR . '/inpost-metaboxes.php' );
    Line 216: require_once( GENESIS_ADMIN_DIR . '/whats-new.php' );
    Line 218: require_once( GENESIS_ADMIN_DIR . '/customizer.php' );
    Line 219: require_once( GENESIS_ADMIN_DIR . '/term-meta.php' );
    Line 220: require_once( GENESIS_ADMIN_DIR . '/user-meta.php' );
    Line 223: require_once( GENESIS_JS_DIR . '/load-scripts.php' );
    Line 226: require_once( GENESIS_CSS_DIR . '/load-styles.php' );
    Line 229: 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