0
Validation results

Mochi Blog theme Two

Mochi Blog theme Two

WordPress 5.0.3 theme
0
  • THEME TYPEWordPress theme 5.0.3
  • FILE NAMEMochi.zip
  • FILE SIZE3007565 bytes
  • MD5ef68fea4dcf9dba5cce0309b68893832
  • SHA1a4e34f65110f6335356486dd9e0b73b8f5968bfe
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, HTML, Bitmap images
  • THEME URIhttps://github.com/WordPress/twentynineteen
  • VERSION1.1
  • CREATION DATE2019-01-04
  • LAST FILE UPDATE2019-01-04
  • LAST VALIDATION2019-01-04 06:20
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file extension_customizer.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. Malware : Operations on file system fopen was found in the file class.redux_helpers.php
    Line 657: //$fp = fopen( $file, 'r' );
    fread was found in the file class.redux_helpers.php
    Line 660: //$file_data = fread( $fp, 8192 );
    fclose was found in the file class.redux_helpers.php
    Line 663: //fclose( $fp );
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File barebones-config.php :
    Line 67: // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
    File sample-config.php :
    Line 109: // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
    File framework.php :
    Line 1349: // wrappers and need to be appened to using add_submenu_page.
    Line 1400: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission
    Line 1458: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
    File framework.php :
    Line 1349: // wrappers and need to be appened to using add_submenu_page.
    Line 1400: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission
    Line 1458: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
    File framework.php :
    Line 1426: $this->page = call_user_func( 'add_menu_page', $this->args['page_title'], $this->args['menu_title'], $this
    File framework.php :
    Line 1349: // wrappers and need to be appened to using add_submenu_page.
    Line 1400: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission
    Line 1458: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
    File welcome.php :
    Line 197: $page = 'add_management_page';
    File mochi-theme-options.php :
    Line 67: // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
  4. Comment reply : Declaration of comment reply Could not find the comment-reply js script enqueued.
  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 : bloginfo bloginfo('home') was found in the file header.php. Use echo esc_url( home_url() ) instead.
    Line 77: <form class='navbar-form navbar-right navbar-search' method='GET' action='<?php bloginfo('home'); ?>'>
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in framework.php. Themes must not deregister core scripts.
    Line 569: wp_deregister_script( 'wpb_ace' );
    Found wp_deregister_script in enqueue.php. Themes must not deregister core scripts.
    Line 215: wp_deregister_script( 'jquerySelect2' );
  2. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  3. 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 mochi-blog-theme-two.
  4. Text domain : Incorrect use of translation functions.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'If you like <strong>Redux</strong> please leave us a <a href="', https://, 'wordpress.org/support/view/plugin-reviews/redux-framework?filter=5#postform" target="_blank" class="redux-rating-link" data-rated="Thanks :)">&#9733;&#9733;&#9733;&#9733;&#9733;</a> rating. A huge thank you from Redux in advance!' in file welcome.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'If you like <strong>Redux</strong> please leave us a <a href="', https://, 'wordpress.org/support/view/plugin-reviews/redux-framework?filter=5#postform" target="_blank" class="redux-rating-link" data-rated="Thanks :)">&#9733;&#9733;&#9733;&#9733;&#9733;</a> rating. A huge thank you from Redux in advance!', 'redux-framework' in file welcome.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 wp-bootstrap-navwalker, redux-framework, redux-framework-demo, themecheck, https://.
  5. PHP short tags : Presence of PHP short tagsPHP short tags were found in file parsedown.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.
    Line 14: # Modified by Dovy Paukstys to remove <? shortcode-like declaration.
  6. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  7. Fundamental theme elements : Presence of comments_template()Could not find comments_template.
  8. Fundamental theme elements : Presence of wp_list_comments()Could not find wp_list_comments.
  9. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  10. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  11. Fundamental theme elements : Presence of post_class()Could not find post_class.
  12. Comment pagination : Declaration of comment paginationThe theme doesn't have comment pagination code in it. Use paginate_comments_links() to add comment pagination, or older previous_comments_link() and next_comments_link() functions.
  13. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  14. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  15. 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.
  16. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  17. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  18. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  19. CSS files : Presence of .alignleft class.alignleft css class is needed in theme css.
  20. CSS files : Presence of .alignright class.alignright css class is needed in theme css.
  21. CSS files : Presence of .aligncenter class.aligncenter css class is needed in theme css.
  22. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  23. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  24. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  25. 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.
  26. Tags : Tags displayThis theme doesn't seem to display tags.
  27. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Mandatory files : Presence of file comments.phpCould not find file comments.php in the theme.
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of comments template file comments.phpThis theme does not contain optional file comments.php.
  4. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  5. Optional files : Presence of single post template file single.phpThis theme does not contain optional file comments.php.
  6. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  7. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  8. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  9. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  10. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  11. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  12. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  13. Use of includes : Use of include or requireThe theme appears to use include or require : framework.php
    Line 418: require_once 'core/dashboard.php';
    Line 421: require_once 'core/newsflash.php';
    Line 1707: require_once 'core/enqueue.php';
    Line 2852: require_once 'core/enqueue.php';
    Line 2910: require_once 'core/panel.php';
    Line 3239: require_once 'core/panel.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 : extension_customizer.php
    Line 751: require_once( $class_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.
    The theme appears to use include or require : welcome.php
    Line 374: require_once 'views/about.php';
    Line 389: require_once 'views/changelog.php';
    Line 404: require_once 'views/extensions.php';
    Line 420: require_once 'views/support.php';
    Line 435: require_once 'views/credits.php';
    Line 450: require_once 'views/status_report.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 : field_button_set.php
    Line 46: *              ['format']      string Formatting options for paginate fields. Options include ('currency','nice','niceShort','timeAgoInWords' or a valid Date() f
    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