10
Validation results

Mharty

Mharty

WordPress 5.7.1 theme
10
  • THEME TYPEWordPress theme 5.7.1
  • FILE NAMEmharty.zip
  • FILE SIZE2316088 bytes
  • MD524881662e622fb2280801af788a03363
  • SHA12f3bab64f065f55673c8e4bb545384481e30ff43
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, XML, Bitmap images, Adobe Illustrator
  • THEME URIhttp://mharty.com/gallery
  • VERSION6.0.0
  • CREATION DATE2021-03-15
  • LAST FILE UPDATE2021-03-15
  • LAST VALIDATION2021-03-15 02:31
  • OTHER VERSIONS

    4.4.1 : 0%

This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file controls-init.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. Title : Title The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File panel.php : 67: $start_page = add_menu_page( esc_html__( 'Mharty', 'mharty' ), esc_html__( 'Mharty', 'mhaFile panel.php : 69: add_submenu_page( 'mh_start', esc_html__( 'Start Here', 'mharty' ), esc_htm70: add_submenu_page( 'mh_start', esc_html__( 'Theme Customiser', 'mharty' ), e71: $panel_page = add_submenu_page( 'mh_start', esc_html__( 'Theme Panel', 'mharty' ), esc_htFile panel.php : 69: add_submenu_page( 'mh_start', esc_html__( 'Start Here', 'mharty' ), esc_htm70: add_submenu_page( 'mh_start', esc_html__( 'Theme Customiser', 'mharty' ), e71: $panel_page = add_submenu_page( 'mh_start', esc_html__( 'Theme Panel', 'mharty' ), esc_htFile panel.php : 69: add_submenu_page( 'mh_start', esc_html__( 'Start Here', 'mharty' ), esc_htm70: add_submenu_page( 'mh_start', esc_html__( 'Theme Customiser', 'mharty' ), e71: $panel_page = add_submenu_page( 'mh_start', esc_html__( 'Theme Panel', 'mharty' ), esc_ht
  4. Deprecated functions : get_bloginfo get_bloginfo( 'url' ) was found in the file footer.php. Use home_url() instead.45: $mharty_cr_notice = '' !== get_theme_mod( 'cr_notice', '' ) ? mh_sanitize_text_input( get_theme_mod( 'cr_notice', '' ) ) : '&copy; ' . date( 'Y' ) . ' <a href='' . esc_html( get_bloginfo( 'url' ) ) . ''>' . esc_html( get_bloginfo( 'name' ) ) . '</a>
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. Text domain : Incorrect use of translation functions.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 mharty, bbpress, buddypress.
  3. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  4. Unwanted files : hidden file(s) or folder(s).ds_store was found.
  5. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file style.css.
  6. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  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. CSS files : Presence of license typeLicense: is missing from style.css header.
  9. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  10. Screenshot : Screenshot fileBad 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 date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  9. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  10. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  11. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  12. Use of includes : Use of include or requireThe theme appears to use include or require : mh_menu_icons.php 23: <?php require_once( MHARTY_THEME_DIR . '/includes/mh_menu/mh_menu_icons_list.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 : mh_customizer.php 13: include_once( dirname( __FILE__ ) . '/includes/controls-init.php' );14: include_once( dirname( __FILE__ ) . '/includes/transport.php' );28: include_once( dirname( __FILE__ ) . '/includes/controls.php' );29: include_once( dirname( __FILE__ ) . '/includes/sanitization.php' );307: include_once( MHARTY_THEME_DIR . '/includes/mh_customizer/customizer.php' )308: include_once( MHARTY_THEME_DIR . '/includes/mh_customizer/style.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 : mh_content.php 508: require_once( ABSPATH . WPINC . '/class-oembed.php' );510: require_once( ABSPATH . WPINC . '/class-wp-oembed.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