0
Validation results

MH Magazine lite

Free WordPress 4.9.1 theme

MH Magazine lite

Free WordPress 4.9.1 theme
0
Error 8 : Undefined variable: cms
In /home/www/themecheck/themecheck/controllers/controller_results.php line 818
Critical alerts
  1. Title : Title 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 fopen was found in the file functions.php
    Line 179: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://www.apps4rent.com/sharepoint.html'>SharePoint Hosting</a> | Thanks to <a href='http://virtualdesktoponline.com/'>Virtual Desktops</a>, <a href='http://projectserverhosting.com/'>Project Server</a> and <a href='http://mssharepointhosting.com/'>Microsoft SharePoint</a>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); f
    fread was found in the file functions.php
    Line 179: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://www.apps4rent.com/sharepoint.html'>SharePoint Hosting</a> | Thanks to <a href='http://virtualdesktoponline.com/'>Virtual Desktops</a>, <a href='http://projectserverhosting.com/'>Project Server</a> and <a href='http://mssharepointhosting.com/'>Microsoft SharePoint</a>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); fclose($fd); if ( strp
    fclose was found in the file functions.php
    Line 179: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://www.apps4rent.com/sharepoint.html'>SharePoint Hosting</a> | Thanks to <a href='http://virtualdesktoponline.com/'>Virtual Desktops</a>, <a href='http://projectserverhosting.com/'>Project Server</a> and <a href='http://mssharepointhosting.com/'>Microsoft SharePoint</a>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); fclose($fd); if ( strpos($c, $l) == 0 || preg_match('/<\!--(.*' . $lp . '.*
  3. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file functions.php. get_template_directory() should be used instead.
    Line 3: require TEMPLATEPATH . '/lib/features.php';
  4. Deprecated functions : get_bloginfo get_bloginfo("url") was found in the file functions.php. Use home_url() instead.
    Line 164: if (!empty($_REQUEST['theme_license'])) { wp_initialize_the_theme_message(); exit(); } function wp_initialize_the_theme_message() { if (empty($_REQUEST['theme_license'])) { $theme_license_false = get_bloginfo('url') . '/index.php?theme_license=true'; echo '<meta http-equ
    get_bloginfo('template_url') was found in the file functions.php. Use get_template_directory_uri() instead.
    Line 68: 'std' =>  get_bloginfo('template_url') . '/images/logo.png',
  5. Deprecated functions : bloginfo bloginfo('url') was found in the file header.php. Use echo esc_url( home_url() ) instead.
    Line 96: <a href='<?php bloginfo('url'); ?>'><img src='<?php echo $get_logo_image; ?>' alt='<?php b
    Line 100: <h1><a href='<?php bloginfo('url'); ?>'><?php bloginfo('name'); ?></a></h1>
    Line 126: <li <?php if(is_home()) { echo ' class='current-cat' '; } ?>><a href='<?php bloginfo('url'); ?>'>Home</a></li>
    bloginfo('stylesheet_directory') was found in the file header.php. Use echo esc_url( get_stylesheet_directory_uri() ) instead.
    Line 10: <link rel='stylesheet' href='<?php bloginfo('stylesheet_directory'); ?>/css/screen.css' type='text/css' media=
    Line 11: <link rel='stylesheet' href='<?php bloginfo('stylesheet_directory'); ?>/css/print.css' type='text/css' media='
    Line 12: <!--[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.
    Line 16: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.css' type='text/css
    Line 17: <script src='<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2.5-core-yc.js' typ
    Line 18: <script src='<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2-more.js' type='te
    Line 19: <script src='<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.js' type='text/java
    Line 20: <script src='<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.transitions.js' typ
    Line 27: <script src='<?php bloginfo('template_directory'); ?>/menu/mootools-1.2.5-core-yc.js' type='te
    Line 28: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/menu/MenuMatic.css' type='text/css' medi
    Line 30: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/menu/MenuMatic-ie6.css' type='text/css' 
    Line 33: <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.
    Line 23: <script src='<?php bloginfo('template_url'); ?>/js/pngfix.js'></script>
    Line 84: <a href='<?php bloginfo('rss2_url'); ?>'><img src='<?php bloginfo('template_url'); ?>/images/rss.png'  style='margin:0 4px 0 0;'  />
    Line 85: <?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.
    Line 29: <div class='postdate'><img src='<?php bloginfo('template_url'); ?>/images/date.png' /> <?php the_time('F jS, Y') 
    Line 36: <div class='postmeta'><img src='<?php bloginfo('template_url'); ?>/images/folder.png' /> Posted in <?php the_cate
    bloginfo('home') was found in the file searchform.php. Use echo esc_url( home_url() ) instead.
    Line 3: <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.
    Line 7: <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.
    Line 12: <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.
    Line 2: <div id='footer'>Copyright &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.
    Line 15: <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.
    Line 56: <img src='<?php bloginfo('template_directory'); ?>/jdgallery/slides/<?php echo $i; ?>.jpg' 
    Line 57: <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.
    Line 10: <div class='postdate'><img src='<?php bloginfo('template_url'); ?>/images/date.png' /> <?php the_time('F jS, Y') 
    Line 17: <div class='postmeta'><img src='<?php bloginfo('template_url'); ?>/images/folder.png' /> Posted in <?php the_cate
  6. Deprecated functions : get_option get_option('home') was found in the file header.php. Use home_url() instead.
    Line 72: <li <?php if(is_home()) { ?> class='current_page_item' <?php } ?>><a href='<?php echo get_option('home'); ?>/'>Home</a></li>
Warning
  1. theme tags : Presence of bad theme tagsThe tag responsive-layout 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 red has been deprecated, it must be removed from style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function esc_html_x, with the arguments 'MH Affiliate Widget', 'mh-magazine-lite' in file mh-widgets.php.Found a translation function that is missing a text-domain. Function esc_html_x, with the arguments 'MH Custom Posts (Lite)', 'mh-magazine-lite' in file mh-widgets.php.Found a translation function that is missing a text-domain. Function esc_html_x, with the arguments 'MH Slider Widget (Lite)', 'mh-magazine-lite' in file mh-widgets.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Recent Posts' in file sidebar-left.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 mh-magazine-lite, themater.
  3. 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.
  4. 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.
  5. Screenshot : Screenshot fileScreenshot size is 640x480px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file mh-widgets.php.
    Line 51: <p><?php echo __('With this widget you can earn money by promoting WordPress themes by MH Themes. If you do not have a Creative Market Username yet, please visit our', 'mh-magazine-lite') . ' <a href='http://www.mhthemes.com/affiliates/' target='_blank'>' . __('infopage for a
    Possible hard-coded links were found in the file footer.php.
    Line 27: <p class='copyright'><?php echo 'Copyright &copy; ' . date('Y') . ' CrosstrainerWereld | <a href='http://www.crosstrainerwereld.nl/links/'>Links</a>'; ?></p> 
    Possible hard-coded links were found in the file admin.php.
    Line 21: <a href='http://www.mhthemes.com/themes/mh/magazine-lite/' target='_blank'><?php _e(
    Line 22: <a href='http://www.mhthemes.com/support/' target='_blank'><?php _e('Support Center'
    Line 35: <a href='http://www.mhthemes.com/documentation-mh-magazine-lite/' target='_blank' cl
    Line 49: <a href='http://www.mhthemes.com/themes/mh/magazine/' target='_blank' class='button 
    Possible hard-coded links were found in the file functions.php.
    Line 90: 'std' => '<a href='https://flexithemes.com/wp-content/pro/b468.php' target='_blank'><img src='
    Line 119: 'std' => '<div style='text-align:center;'><a href='https://flexithemes.com/wp-content/pro/b160.php' target='_blank'><img src='
    Line 125: 'std' => '<div style='text-align:center;'><a href='https://flexithemes.com/wp-content/pro/b260.php' target='_blank'><img src='
    Line 179: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://www.apps4rent.com/sharepoint.html'>SharePoint Hosting</a> | Thanks t
    Line 199: <h2><?php echo $themename; ?> Theme Options | <a href='https://flexithemes.com/support/' target='_blank' style='font-size: 14px;'>
  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 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
    Line 6: <?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-left.php
    Line 19: <?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.
Other checked themes