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
    Ligne162: $upload = file_get_contents($_FILES['genesis-import-upload']['tmp_name']);
    file_get_contents was found in the file readme-menu.php
    Ligne13: $file = @file_get_contents(CHILD_DIR . '/README.txt');
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File menu.php :
    Ligne23: add_menu_page('Genesis', 'Genesis', 'manage_options', 'genesis', 'genesis_t
    File menu.php :
    Ligne38: $_genesis_theme_settings_pagehook = add_submenu_page('genesis', __('Theme Settings','genesis'), __('Theme Setti
    Ligne42: $_genesis_seo_settings_pagehook = add_submenu_page('genesis', __('SEO Settings','genesis'), __('SEO Settings'
    Ligne47: add_submenu_page('genesis', __('Import/Export','genesis'), __('Import/Expor
    Ligne52: $_genesis_readme_menu_pagehook = file_exists( CHILD_DIR . '/README.txt' ) ? add_submenu_page('genesis', __('README', 'genesis'), __('README', 'genesis'
    File menu.php :
    Ligne38: $_genesis_theme_settings_pagehook = add_submenu_page('genesis', __('Theme Settings','genesis'), __('Theme Setti
    Ligne42: $_genesis_seo_settings_pagehook = add_submenu_page('genesis', __('SEO Settings','genesis'), __('SEO Settings'
    Ligne47: add_submenu_page('genesis', __('Import/Export','genesis'), __('Import/Expor
    Ligne52: $_genesis_readme_menu_pagehook = file_exists( CHILD_DIR . '/README.txt' ) ? add_submenu_page('genesis', __('README', 'genesis'), __('README', 'genesis'
    File menu.php :
    Ligne38: $_genesis_theme_settings_pagehook = add_submenu_page('genesis', __('Theme Settings','genesis'), __('Theme Setti
    Ligne42: $_genesis_seo_settings_pagehook = add_submenu_page('genesis', __('SEO Settings','genesis'), __('SEO Settings'
    Ligne47: add_submenu_page('genesis', __('Import/Export','genesis'), __('Import/Expor
    Ligne52: $_genesis_readme_menu_pagehook = file_exists( CHILD_DIR . '/README.txt' ) ? add_submenu_page('genesis', __('README', 'genesis'), __('README', 'genesis'
    File menu.php :
    Ligne38: $_genesis_theme_settings_pagehook = add_submenu_page('genesis', __('Theme Settings','genesis'), __('Theme Setti
    Ligne42: $_genesis_seo_settings_pagehook = add_submenu_page('genesis', __('SEO Settings','genesis'), __('SEO Settings'
    Ligne47: add_submenu_page('genesis', __('Import/Export','genesis'), __('Import/Expor
    Ligne52: $_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.
    Ligne76: $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.
    Ligne79: $template = TEMPLATEPATH . '/{$custom_field}';
  6. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  7. 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.
    Ligne153: <?php screen_icon('options-general'); ?>
    screen_icon found in file readme-menu.php. Deprecated since version 3.8.
    Ligne21: <?php screen_icon('edit-pages'); ?>
    screen_icon found in file theme-settings.php. Deprecated since version 3.8.
    Ligne169: <?php screen_icon('options-general'); ?>
  8. Deprecated functions : get_bloginfo get_bloginfo('stylesheet_directory') was found in the file init.php. Use get_stylesheet_directory_uri() instead.
    Ligne64: define('CHILD_URL', get_bloginfo('stylesheet_directory'));
    get_bloginfo('template_directory') was found in the file init.php. Use get_template_directory_uri() instead.
    Ligne63: define('PARENT_URL', get_bloginfo('template_directory'));
    get_bloginfo('url') was found in the file menu-categories-widget.php. Use home_url() instead.
    Ligne47: echo '<li '.$active.'><a href=''. trailingslashit( get_bloginfo('url') ) .''>'.__('Home', 'genesis').'</a></li>';
    get_bloginfo('url') was found in the file menu-pages-widget.php. Use home_url() instead.
    Ligne49: echo '<li '.$active.'><a href=''. trailingslashit( get_bloginfo('url') ).''>'.__('Home', 'genesis').'</a></li>';
    get_bloginfo( 'url' ) was found in the file upgrade.php. Use home_url() instead.
    Ligne30: 'user-agent' => 'WordPress/$wp_version;' . get_bloginfo( 'url' )
    get_bloginfo('url') was found in the file menu.php. Use home_url() instead.
    Ligne47: $home = '<li ' . $class . '><a href='' . trailingslashit( get_bloginfo('url') ) . '' title='' . esc_attr($text) . ''>' . $args['link_
    get_bloginfo('url') was found in the file header.php. Use home_url() instead.
    Ligne68: $inside = sprintf( '<a href='%s' title='%s'>%s</a>', trailingslashit( get_bloginfo('url') ), esc_attr( get_bloginfo('name') ), get_bloginfo('name
    Ligne539: $canonical = trailingslashit( get_bloginfo('url') );
    get_bloginfo('url') was found in the file 404.php. Use home_url() instead.
    Ligne23: <p><?php printf(__('The page you are looking for no longer exists. Perhaps you can return back to the site\'s <a href='%s'>homepage</a> and see if you can find what you are looking for. Or, you can try finding it with the information below.', 'genesis'), get_bloginfo('url')); ?></p>
  9. Deprecated functions : get_option get_option('home') was found in the file search.php. Use home_url() instead.
    Ligne19: <form method='get' class='searchform' action='' . get_option('home') . '/' >
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 _e, with the arguments "Title" in file user-profile-widget.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Gravatar Size' in file user-profile-widget.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Gravatar Alignment' in file user-profile-widget.php.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 'The argument, "context", has been replaced with "theme_location"' in file menu.php.
  3. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  4. Unwanted files : Windows thumbnail storethumbs.db was found.
  5. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  6. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  7. 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.
    Ligne153: <?php screen_icon('options-general'); ?>
    screen_icon found in file readme-menu.php. Deprecated since version 3.8.
    Ligne21: <?php screen_icon('edit-pages'); ?>
    screen_icon found in file theme-settings.php. Deprecated since version 3.8.
    Ligne169: <?php screen_icon('options-general'); ?>
  8. 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.
  9. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  10. CSS files : Presence of license typeLicense: is missing from style.css header.
  11. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  12. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  13. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  14. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  15. 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.
  16. CSS files : Presence of Theme URICould not find Theme URL.
  17. 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. 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 home template file home.phpThis theme does not contain optional file home.php.
  4. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  5. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  6. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  8. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  9. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  10. Use of includes : Use of include or requireThe theme appears to use include or require : init.php
    Ligne96: require_once(GENESIS_LIB_DIR . '/framework.php');
    Ligne99: require_once(GENESIS_CLASSES_DIR . '/breadcrumb.php');
    Ligne102: require_once(GENESIS_FUNCTIONS_DIR . '/hooks.php');
    Ligne103: require_once(GENESIS_FUNCTIONS_DIR . '/upgrade.php');
    Ligne104: require_once(GENESIS_FUNCTIONS_DIR . '/general.php');
    Ligne105: require_once(GENESIS_FUNCTIONS_DIR . '/options.php');
    Ligne106: require_once(GENESIS_FUNCTIONS_DIR . '/image.php');
    Ligne107: require_once(GENESIS_FUNCTIONS_DIR . '/admin.php');
    Ligne108: require_once(GENESIS_FUNCTIONS_DIR . '/menu.php');
    Ligne109: require_once(GENESIS_FUNCTIONS_DIR . '/layout.php');
    Ligne110: require_once(GENESIS_FUNCTIONS_DIR . '/formatting.php');
    Ligne111: require_once(GENESIS_FUNCTIONS_DIR . '/seo.php');
    Ligne112: require_once(GENESIS_FUNCTIONS_DIR . '/widgetize.php');
    Ligne113: require_once(GENESIS_FUNCTIONS_DIR . '/feed.php');
    Ligne114: require_once(GENESIS_FUNCTIONS_DIR . '/i18n.php');
    Ligne115: require_once(GENESIS_FUNCTIONS_DIR . '/deprecated.php');
    Ligne118: require_once(GENESIS_SHORTCODES_DIR . '/post.php');
    Ligne119: require_once(GENESIS_SHORTCODES_DIR . '/footer.php');
    Ligne122: require_once(GENESIS_STRUCTURE_DIR . '/header.php');
    Ligne123: require_once(GENESIS_STRUCTURE_DIR . '/footer.php');
    Ligne124: require_once(GENESIS_STRUCTURE_DIR . '/menu.php');
    Ligne125: require_once(GENESIS_STRUCTURE_DIR . '/layout.php');
    Ligne126: require_once(GENESIS_STRUCTURE_DIR . '/post.php');
    Ligne127: require_once(GENESIS_STRUCTURE_DIR . '/loops.php');
    Ligne128: require_once(GENESIS_STRUCTURE_DIR . '/comments.php');
    Ligne129: require_once(GENESIS_STRUCTURE_DIR . '/sidebar.php');
    Ligne130: require_once(GENESIS_STRUCTURE_DIR . '/archive.php');
    Ligne131: require_once(GENESIS_STRUCTURE_DIR . '/search.php');
    Ligne134: require_once(GENESIS_ADMIN_DIR . '/menu.php');
    Ligne135: require_once(GENESIS_ADMIN_DIR . '/theme-settings.php');
    Ligne136: require_once(GENESIS_ADMIN_DIR . '/seo-settings.php');
    Ligne137: require_once(GENESIS_ADMIN_DIR . '/import-export.php');
    Ligne138: require_once(GENESIS_ADMIN_DIR . '/readme-menu.php');
    Ligne139: require_once(GENESIS_ADMIN_DIR . '/inpost-metaboxes.php');
    Ligne140: require_once(GENESIS_ADMIN_DIR . '/term-meta.php');
    Ligne141: require_once(GENESIS_ADMIN_DIR . '/user-meta.php');
    Ligne142: require_once(GENESIS_ADMIN_DIR . '/editor.php');
    Ligne145: require_once(GENESIS_JS_DIR . '/load-scripts.php');
    Ligne148: require_once(GENESIS_CSS_DIR . '/load-styles.php');
    Ligne151: require_once(GENESIS_WIDGETS_DIR . '/user-profile-widget.php');
    Ligne152: require_once(GENESIS_WIDGETS_DIR . '/enews-widget.php');
    Ligne153: require_once(GENESIS_WIDGETS_DIR . '/featured-post-widget.php');
    Ligne154: require_once(GENESIS_WIDGETS_DIR . '/featured-page-widget.php');
    Ligne155: require_once(GENESIS_WIDGETS_DIR . '/latest-tweets-widget.php');
    Ligne156: require_once(GENESIS_WIDGETS_DIR . '/menu-pages-widget.php');
    Ligne157: require_once(GENESIS_WIDGETS_DIR . '/menu-categories-widget.php');
    Ligne160: require_once(GENESIS_TOOLS_DIR . '/custom-field-redirect.php');
    Ligne162: require_once(GENESIS_TOOLS_DIR . '/post-templates.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
    Ligne7: 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