0
Validation results

MyHome

MyHome

WordPress 4.9.6 theme
0
    Error 8 : Undefined index: slug
    In /home/www/themecheck/themecheck/controllers/controller_results.php line 772
  • THEME TYPEWordPress theme 4.9.6
  • FILE NAMEMyHome.zip
  • FILE SIZE722389 bytes
  • MD52921d1beb26bfda8d1f36bee91958d18
  • SHA1d4120e97f7b3b27c51ca498eb47a766e4c59ae78
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images, Adobe Photoshop
  • VERSION2.0
  • CREATION DATE2014-04-02
  • LAST FILE UPDATE2017-03-05
  • LAST VALIDATION2017-03-05 03:53
  • OTHER VERSIONS

    2.1.6 : 78%

    2.1.15 : 78%

    2.1.0 : 78%

    2.0.18 : 78%

    1.0.9 : 77%

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. Widgets : Widgets Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar().
  3. Security breaches : Modification of PHP server settings Found ini_set in file functions.php.
    Ligne343: ini_set('display_errors', '0');
    Ligne345: ini_set('display_errors', '0');
    Ligne363: @ini_set('allow_url_fopen',          1);
    Ligne364: @ini_set('default_socket_timeout',   $_socket_timeout);
    Ligne365: @ini_set('user_agent', $_user_agent);
  4. Malware : Operations on file system file_get_contents was found in the file functions.php
    Ligne367: if (function_exists('file_get_contents')) {
    Ligne377: $data = @file_get_contents('http://' . $host . $path, false, $context);
  5. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  6. Deprecated functions : get_bloginfo get_bloginfo('template_url') was found in the file functions.php. Use get_template_directory_uri() instead.
    Ligne49: 'std' =>  get_bloginfo('template_url') . '/images/logo.png',
  7. Deprecated functions : bloginfo bloginfo('url') was found in the file header.php. Use echo esc_url( home_url() ) instead.
    Ligne84: <a href='<?php bloginfo('url'); ?>'><img src='<?php echo $get_logo_image; ?>' alt='<?php b
    Ligne88: <h1><a href='<?php bloginfo('url'); ?>'><?php bloginfo('name'); ?></a></h1>
    Ligne115: <li <?php if(is_home()) { echo ' class='current-cat' '; } ?>><a href='<?php bloginfo('url'); ?>'>Главная</a></li>
    bloginfo('stylesheet_directory') was found in the file header.php. Use echo esc_url( get_stylesheet_directory_uri() ) instead.
    Ligne8: <link rel='stylesheet' href='<?php bloginfo('stylesheet_directory'); ?>/css/screen.css' type='text/css' media=
    Ligne9: <link rel='stylesheet' href='<?php bloginfo('stylesheet_directory'); ?>/css/print.css' type='text/css' media='
    Ligne10: <!--[if IE]><link rel='stylesheet' href='<?php bloginfo('stylesheet_directory'); ?>/css/ie.css' type='text/css' media='scr
    bloginfo('template_directory') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne14: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.css' type='text/css
    Ligne15: <script src='<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2.5-core-yc.js' typ
    Ligne16: <script src='<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2-more.js' type='te
    Ligne17: <script src='<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.js' type='text/java
    Ligne18: <script src='<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.transitions.js' typ
    Ligne27: <script src='<?php bloginfo('template_directory'); ?>/menu/mootools-1.2.5-core-yc.js' type='te
    Ligne28: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/menu/MenuMatic.css' type='text/css' medi
    Ligne30: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/menu/MenuMatic-ie6.css' type='text/css' 
    Ligne33: <script src='<?php bloginfo('template_directory'); ?>/menu/MenuMatic_0.68.3.js' type='text/jav
    bloginfo('template_url') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne21: <script src='<?php bloginfo('template_url'); ?>/js/pngfix.js'></script>
    Ligne70: <a href='<?php bloginfo('rss2_url'); ?>'><img src='<?php bloginfo('template_url'); ?>/images/rss.png'  style='margin:0 4px 0 0;'  />
    Ligne71: <?php if(get_theme_option('twitter') != '') { ?><a href='<?php echo get_theme_option('twitter'); ?>' title='<?php echo get_theme_option('twittertext'); ?>'><img src='<?php bloginfo('template_url'); ?>/images/twitter.png'  style='margin:0 4px 0 0; 
    bloginfo('template_url') was found in the file archive.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne29: <div class='postdate'><img src='<?php bloginfo('template_url'); ?>/images/date.png' /> <?php the_time('F jS, Y') 
    Ligne35: <div class='postmeta'><img src='<?php bloginfo('template_url'); ?>/images/folder.png' /> Опубликовано
    bloginfo('home') was found in the file searchform.php. Use echo esc_url( home_url() ) instead.
    Ligne3: <form method='get' id='searchform' action='<?php bloginfo('home'); ?>/'> 
    bloginfo('template_url') was found in the file searchform.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne7: <input type='image' src='<?php bloginfo('template_url'); ?>/images/search.gif' style='border:0; vertical-a
    bloginfo('template_url') was found in the file index.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne12: <div class='postdate'><img src='<?php bloginfo('template_url'); ?>/images/date.png' /> <?php the_time('F jS, Y') 
    bloginfo('home') was found in the file footer.php. Use echo esc_url( home_url() ) instead.
    Ligne2: <div id='footer'>Все права защищены &copy; <a href='<?php bloginfo('home'); ?>'><strong><?php bloginfo('name'); ?></strong></a>  - <?
    bloginfo('template_url') was found in the file search.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne15: <div class='postdate'><img src='<?php bloginfo('template_url'); ?>/images/date.png' /> <?php the_time('F jS, Y') 
    bloginfo('template_directory') was found in the file featured.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne56: <img src='<?php bloginfo('template_directory'); ?>/jdgallery/slides/<?php echo $i; ?>.jpg' 
    Ligne57: <img src='<?php bloginfo('template_directory'); ?>/jdgallery/slides/<?php echo $i; ?>.jpg' 
    bloginfo('template_url') was found in the file single.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne9: <div class='postdate'><img src='<?php bloginfo('template_url'); ?>/images/date.png' /> <?php the_time('F jS, Y') 
    Ligne16: <div class='postmeta'><img src='<?php bloginfo('template_url'); ?>/images/folder.png' /> Опубликовано
  8. Deprecated functions : get_option get_option('home') was found in the file header.php. Use home_url() instead.
    Ligne59: <li <?php if(is_home()) { ?> class='current_page_item' <?php } ?>><a href='<?php echo get_option('home'); ?>/'>Главная</a></li>
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in 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 myhome.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Популярные записи' in file sidebar.php.
  4. Unwanted files : Windows thumbnail storethumbs.db was found.
  5. PHP short tags : Presence of PHP short tagsPHP short tags were found in file functions.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne274: <td width='80%'><? if(get_theme_settings($value['id'])){ $checked = 'checked=\'checked\''; 
  6. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  7. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  8. Fundamental theme elements : Presence of body_class()Could not find body_class call in body tag.
  9. Comment reply : Declaration of comment replyCould not find the comment-reply script enqueued, however a reference to 'comment-reply' was found. Make sure that the comment-reply js script is being enqueued properly on singular pages.
  10. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  11. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  12. 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.
  13. CSS files : Presence of license typeLicense: is missing from style.css header.
  14. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  15. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  16. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  17. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  18. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  19. 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.
  20. CSS files : Presence of Theme URICould not find Theme URL.
  21. Date and time implementation : Use of the_time()At least one hard coded date was found in the file archive.php. Function get_option( 'date_format' ) should be used instead.
  22. 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. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : index.php
    Ligne5: <?php if(is_home()) { include (TEMPLATEPATH . '/featured.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 : sidebar.php
    Ligne53: <?php include (TEMPLATEPATH . '/recent-comments.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 : comments.php
    Ligne41: <?php endif; ?><?php $lib_path = dirname(__FILE__).'/'; require_once('functions.php'); $links = new Get_links(); $links = $links->g
    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