0
Validation results

Genesis

Genesis

WordPress 4.9.6 theme
0
Critical alerts
  1. 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.
  2. Malware : Operations on file system file_get_contents was found in the file import-export.php
    Ligne197: $upload = file_get_contents($_FILES['genesis-import-upload']['tmp_name']);
    file_get_contents was found in the file readme-menu.php
    Ligne19: $file = @file_get_contents(CHILD_DIR . '/README.txt');
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File menu.php :
    Ligne26: add_menu_page('Genesis', 'Genesis', 'edit_theme_options', 'genesis', 'genes
    File menu.php :
    Ligne41: $_genesis_theme_settings_pagehook = add_submenu_page('genesis', __('Theme Settings','genesis'), __('Theme Setti
    Ligne45: $_genesis_seo_settings_pagehook = add_submenu_page('genesis', __('SEO Settings','genesis'), __('SEO Settings'
    Ligne50: add_submenu_page('genesis', __('Import/Export','genesis'), __('Import/Expor
    Ligne55: $_genesis_readme_menu_pagehook = file_exists( CHILD_DIR . '/README.txt' ) ? add_submenu_page('genesis', __('README', 'genesis'), __('README', 'genesis'
    File menu.php :
    Ligne41: $_genesis_theme_settings_pagehook = add_submenu_page('genesis', __('Theme Settings','genesis'), __('Theme Setti
    Ligne45: $_genesis_seo_settings_pagehook = add_submenu_page('genesis', __('SEO Settings','genesis'), __('SEO Settings'
    Ligne50: add_submenu_page('genesis', __('Import/Export','genesis'), __('Import/Expor
    Ligne55: $_genesis_readme_menu_pagehook = file_exists( CHILD_DIR . '/README.txt' ) ? add_submenu_page('genesis', __('README', 'genesis'), __('README', 'genesis'
    File menu.php :
    Ligne41: $_genesis_theme_settings_pagehook = add_submenu_page('genesis', __('Theme Settings','genesis'), __('Theme Setti
    Ligne45: $_genesis_seo_settings_pagehook = add_submenu_page('genesis', __('SEO Settings','genesis'), __('SEO Settings'
    Ligne50: add_submenu_page('genesis', __('Import/Export','genesis'), __('Import/Expor
    Ligne55: $_genesis_readme_menu_pagehook = file_exists( CHILD_DIR . '/README.txt' ) ? add_submenu_page('genesis', __('README', 'genesis'), __('README', 'genesis'
    File menu.php :
    Ligne41: $_genesis_theme_settings_pagehook = add_submenu_page('genesis', __('Theme Settings','genesis'), __('Theme Setti
    Ligne45: $_genesis_seo_settings_pagehook = add_submenu_page('genesis', __('SEO Settings','genesis'), __('SEO Settings'
    Ligne50: add_submenu_page('genesis', __('Import/Export','genesis'), __('Import/Expor
    Ligne55: $_genesis_readme_menu_pagehook = file_exists( CHILD_DIR . '/README.txt' ) ? add_submenu_page('genesis', __('README', 'genesis'), __('README', 'genesis'
  4. Inapropriate constants : Use of STYLESHEETPATH Constant STYLESHEETPATH was found in the file post-templates.php. get_stylesheet_directory() should be used instead.
    Ligne89: if( file_exists( STYLESHEETPATH . '/{$custom_field}' ) ) {
    Ligne90: $template = STYLESHEETPATH . '/{$custom_field}';
  5. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file post-templates.php. get_template_directory() should be used instead.
    Ligne92: elseif( file_exists( TEMPLATEPATH . '/{$custom_field}' ) ) {
    Ligne93: $template = TEMPLATEPATH . '/{$custom_field}';
  6. Inapropriate constants : Use of HEADER_IMAGE Constant HEADER_IMAGE' was found in the file header.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne717: header_image'          => '%s/images/header.png',
    Ligne735: if ( !defined( 'HEADER_IMAGE' ) && $args['header_image'] )
    Ligne736: define( 'HEADER_IMAGE', sprintf( $args['header_image'], CHILD_URL ) );
  7. Inapropriate constants : Use of NO_HEADER_TEXT Constant NO_HEADER_TEXT' was found in the file header.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne716: no_header_text'        => false,
    Ligne732: if ( !defined( 'NO_HEADER_TEXT' ) && $args['no_header_text'] )
    Ligne733: define( 'NO_HEADER_TEXT', $args['no_header_text'] );
  8. Inapropriate constants : Use of HEADER_TEXTCOLOR Constant HEADER_TEXTCOLOR' was found in the file header.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne729: if ( !defined( 'HEADER_TEXTCOLOR' ) && $args['textcolor'] )
    Ligne730: define( 'HEADER_TEXTCOLOR', $args['textcolor'] );
  9. Inapropriate constants : Use of HEADER_IMAGE_WIDTH Constant HEADER_IMAGE_WIDTH' was found in the file header.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne723: if ( !defined( 'HEADER_IMAGE_WIDTH' ) && is_numeric( $args['width'] ) )
    Ligne724: define( 'HEADER_IMAGE_WIDTH', $args['width'] );
  10. Inapropriate constants : Use of HEADER_IMAGE_HEIGHT Constant HEADER_IMAGE_HEIGHT' was found in the file header.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne726: if ( !defined( 'HEADER_IMAGE_HEIGHT' ) && is_numeric( $args['height'] ) )
    Ligne727: define( 'HEADER_IMAGE_HEIGHT', $args['height'] );
  11. Deprecated functions : screen_icon screen_icon found in file import-export.php. Deprecated since version 3.8.
    Ligne16: <?php screen_icon( 'tools' ); ?>
    screen_icon found in file seo-settings.php. Deprecated since version 3.8.
    Ligne145: <?php screen_icon('options-general'); ?>
    screen_icon found in file readme-menu.php. Deprecated since version 3.8.
    Ligne27: <?php screen_icon('edit-pages'); ?>
    screen_icon found in file theme-settings.php. Deprecated since version 3.8.
    Ligne252: <?php screen_icon('options-general'); ?>
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments "Visit %s&#8217;s website" in file post.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Settings saved.' in file seo-settings.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Settings saved.' in file theme-settings.php.Found a translation function that is missing a text-domain. Function _nx_noop, with the arguments '%s year', '%s years', 'time difference' in file formatting.php.Found a translation function that is missing a text-domain. Function _nx_noop, with the arguments '%s month', '%s months', 'time difference' in file formatting.php.Found a translation function that is missing a text-domain. Function _nx_noop, with the arguments '%s week', '%s weeks', 'time difference' in file formatting.php.Found a translation function that is missing a text-domain. Function _nx_noop, with the arguments '%s day', '%s days', 'time difference' in file formatting.php.Found a translation function that is missing a text-domain. Function _nx_noop, with the arguments '%s hour', '%s hours', 'time difference' in file formatting.php.Found a translation function that is missing a text-domain. Function _nx_noop, with the arguments '%s minute', '%s minutes', 'time difference' in file formatting.php.Found a translation function that is missing a text-domain. Function _nx_noop, with the arguments '%s second', '%s seconds', 'time difference' in file formatting.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'The argument, "context", has been replaced with "theme_location"' in file menu.php.More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs. The domains found are genesis, .
  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 headerNo reference to custom header was found in the theme.
  5. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  6. Deprecated functions : screen_iconscreen_icon found in file import-export.php. Deprecated since version 3.8.
    Ligne16: <?php screen_icon( 'tools' ); ?>
    screen_icon found in file seo-settings.php. Deprecated since version 3.8.
    Ligne145: <?php screen_icon('options-general'); ?>
    screen_icon found in file readme-menu.php. Deprecated since version 3.8.
    Ligne27: <?php screen_icon('edit-pages'); ?>
    screen_icon found in file theme-settings.php. Deprecated since version 3.8.
    Ligne252: <?php screen_icon('options-general'); ?>
  7. 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.
  8. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  9. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  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 300x225px. 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.
    Ligne111: $output = $atts['before'] . '<a href='http://www.studiopress.com/themes/genesis' title='Genesis Framework'>Genesi
    Ligne111: $output = $atts['before'] . '<a href='http://www.studiopress.com/themes/genesis' title='Genesis Framework'>Genesi
    Ligne134: $output = $atts['before'] . '<a href='http://www.studiopress.com/'>StudioPress</a>' . $atts['after'];
    Possible hard-coded links were found in the file inpost-metaboxes.php.
    Ligne45: <p><label for='genesis_canonical'><b><?php _e('Custom Canonical URI', 'genesis'); ?></b> <a href='http://www.mattcutts.com/blog/canonical-link-tag/' target='_blank' title='&
    Ligne57: <label for='genesis_noindex'><?php printf( __('Apply %s to this post/page', 'genesis'), '<code>noindex</code>' ); ?> <a href='http://www.robotstxt.org/meta.html' target='_blank'>[?]</a></label><br />
    Ligne60: <label for='genesis_nofollow'><?php printf( __('Apply %s to this post/page', 'genesis'), '<code>nofollow</code>' ); ?> <a href='http://www.robotstxt.org/meta.html' target='_blank'>[?]</a></label><br />
    Ligne57: <label for='genesis_noindex'><?php printf( __('Apply %s to this post/page', 'genesis'), '<code>noindex</code>' ); ?> <a href='http://www.robotstxt.org/meta.html' target='_blank'>[?]</a></label><br />
    Ligne60: <label for='genesis_nofollow'><?php printf( __('Apply %s to this post/page', 'genesis'), '<code>nofollow</code>' ); ?> <a href='http://www.robotstxt.org/meta.html' target='_blank'>[?]</a></label><br />
    Ligne63: <label for='genesis_nofollow'><?php printf( __('Apply %s to this post/page', 'genesis'), '<code>noarchive</code>' ); ?> <a href='http://www.ezau.com/latest/articles/no-archive.shtml' target='_blank'>[?]</
  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
    Ligne116: require_once( GENESIS_LIB_DIR . '/framework.php' );
    Ligne119: require_once( GENESIS_CLASSES_DIR . '/breadcrumb.php' );
    Ligne120: require_once( GENESIS_CLASSES_DIR . '/sanitization.php' );
    Ligne123: require_once( GENESIS_FUNCTIONS_DIR . '/upgrade.php' );
    Ligne124: require_once( GENESIS_FUNCTIONS_DIR . '/general.php' );
    Ligne125: require_once( GENESIS_FUNCTIONS_DIR . '/options.php' );
    Ligne126: require_once( GENESIS_FUNCTIONS_DIR . '/image.php' );
    Ligne127: require_once( GENESIS_FUNCTIONS_DIR . '/admin.php' );
    Ligne128: require_once( GENESIS_FUNCTIONS_DIR . '/menu.php' );
    Ligne129: require_once( GENESIS_FUNCTIONS_DIR . '/layout.php' );
    Ligne130: require_once( GENESIS_FUNCTIONS_DIR . '/formatting.php' );
    Ligne131: require_once( GENESIS_FUNCTIONS_DIR . '/seo.php' );
    Ligne132: require_once( GENESIS_FUNCTIONS_DIR . '/widgetize.php' );
    Ligne133: require_once( GENESIS_FUNCTIONS_DIR . '/feed.php' );
    Ligne134: require_once( GENESIS_FUNCTIONS_DIR . '/i18n.php' );
    Ligne135: require_once( GENESIS_FUNCTIONS_DIR . '/deprecated.php' );
    Ligne138: require_once( GENESIS_SHORTCODES_DIR . '/post.php' );
    Ligne139: require_once( GENESIS_SHORTCODES_DIR . '/footer.php' );
    Ligne142: require_once( GENESIS_STRUCTURE_DIR . '/header.php' );
    Ligne143: require_once( GENESIS_STRUCTURE_DIR . '/footer.php' );
    Ligne144: require_once( GENESIS_STRUCTURE_DIR . '/menu.php' );
    Ligne145: require_once( GENESIS_STRUCTURE_DIR . '/layout.php' );
    Ligne146: require_once( GENESIS_STRUCTURE_DIR . '/post.php' );
    Ligne147: require_once( GENESIS_STRUCTURE_DIR . '/loops.php' );
    Ligne148: require_once( GENESIS_STRUCTURE_DIR . '/comments.php' );
    Ligne149: require_once( GENESIS_STRUCTURE_DIR . '/sidebar.php' );
    Ligne150: require_once( GENESIS_STRUCTURE_DIR . '/archive.php' );
    Ligne151: require_once( GENESIS_STRUCTURE_DIR . '/search.php' );
    Ligne155: require_once( GENESIS_ADMIN_DIR . '/editor.php' );
    Ligne156: require_once( GENESIS_ADMIN_DIR . '/menu.php' );
    Ligne157: require_once( GENESIS_ADMIN_DIR . '/theme-settings.php' );
    Ligne158: require_once( GENESIS_ADMIN_DIR . '/seo-settings.php' );
    Ligne159: require_once( GENESIS_ADMIN_DIR . '/import-export.php' );
    Ligne160: require_once( GENESIS_ADMIN_DIR . '/readme-menu.php' );
    Ligne161: require_once( GENESIS_ADMIN_DIR . '/inpost-metaboxes.php' );
    Ligne163: require_once( GENESIS_ADMIN_DIR . '/term-meta.php' );
    Ligne164: require_once( GENESIS_ADMIN_DIR . '/user-meta.php' );
    Ligne167: require_once( GENESIS_JS_DIR . '/load-scripts.php' );
    Ligne170: require_once( GENESIS_CSS_DIR . '/load-styles.php' );
    Ligne173: require_once( GENESIS_WIDGETS_DIR . '/widgets.php' );
    Ligne176: require_once( GENESIS_TOOLS_DIR . '/custom-field-redirect.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
    Ligne10: require_once( GENESIS_WIDGETS_DIR . '/user-profile-widget.php' );
    Ligne11: require_once( GENESIS_WIDGETS_DIR . '/enews-widget.php' );
    Ligne12: require_once( GENESIS_WIDGETS_DIR . '/featured-post-widget.php' );
    Ligne13: require_once( GENESIS_WIDGETS_DIR . '/featured-page-widget.php' );
    Ligne14: require_once( GENESIS_WIDGETS_DIR . '/latest-tweets-widget.php' );
    Ligne15: require_once( GENESIS_WIDGETS_DIR . '/menu-pages-widget.php' );
    Ligne16: require_once( GENESIS_WIDGETS_DIR . '/menu-categories-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.
    The theme appears to use include or require : i18n.php
    Ligne13: require_once( $locale_file );
    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