12
Validation results

Black and White

Black and White

WordPress 4.8.2 theme
12
  • THEME TYPEWordPress theme 4.8.2
  • FILE NAMEblackandwhite (3).zip
  • FILE SIZE400936 bytes
  • MD50fc8813cced0d55171f62903f513ef7d
  • SHA1dc56e5735b92982e48561a2d6ba244f2866be07e
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, XML, Bitmap images, Adobe Illustrator
  • VERSION1.29.7
  • TAGSMagazine, Blogging
  • CREATION DATE2016-11-17
  • LAST FILE UPDATE2017-04-14
  • LAST VALIDATION2017-04-14 22:57
  • OTHER VERSIONS

    1.24 : 32%

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.
  2. Malware : Operations on file system file_put_contents was found in the file my-custom-css.php
    Line 45: $makecss = file_put_contents(css_path(), '/********* Do not edit this file *********/\
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php :
    Line 646: $this->page_hook = call_user_func( 'add_{$type}_page', $args['parent_slug'], $args['page_title'], $args['menu_t
  4. Inapropriate constants : Use of HEADER_TEXTCOLOR Constant HEADER_TEXTCOLOR was found in the file custom-header.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 51: // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value
    Line 52: if ( HEADER_TEXTCOLOR == $header_text_color ) {
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in my-custom-css.php. Themes must not deregister core scripts.
    Line 104: wp_deregister_script('wpeditor');
    Line 105: wp_deregister_script('wp-editor-posts-jquery');
    Line 106: wp_deregister_script('fancybox');
    Line 107: wp_deregister_script('codemirror');
    Line 108: wp_deregister_script('codemirror_php');
    Line 109: wp_deregister_script('codemirror_javascript');
    Line 110: wp_deregister_script('codemirror_css');
    Line 111: wp_deregister_script('codemirror_xml');
    Line 112: wp_deregister_script('codemirror_clike');
    Line 113: wp_deregister_script('codemirror_dialog');
    Line 114: wp_deregister_script('codemirror_search');
    Line 115: wp_deregister_script('codemirror_searchcursor');
    Line 116: wp_deregister_script('codemirror_mustache');
  2. theme tags : Presence of bad theme tagsFound wrong tag Magazine in style.css header.Found wrong tag Blogging 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 black-and-white.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'social_icon' in file socialicons.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'We do all we can do to make all our themes free for you. While we enjoy it, and it makes us happy to help out, a little appreciation can help us to keep theming.</strong><br/><br/> Please help support our mission and continued development with a donation of $5, $10, $20, or if you are feeling really kind $100..<br/><br/> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7LMGYAZW9C5GE" target="_blank" rel="nofollow"><img class="" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" alt="Make a donation to ModernThemes" /></a>' in file customizer.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Clear' in file init.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Default' in file init.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Select Color' in file init.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Current Color' in file init.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Save' in file init.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 blackandwhite, tgmpa, mccss, cmb.
  5. Cdn : Use of CDNFound the URL of a CDN in the code: maxcdn.bootstrapcdn.com/font-awesome. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  6. 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.
  7. I18N implementation : Proper use of ___all(Possible variable $social_site found in translation function in socialicons.php. Translation function calls should not contain PHP variables.
    Line 52: 'label'   => __( '$social_site url:', 'social_icon' ),
  8. Screenshot : Screenshot fileScreenshot size is 600x450px. 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 : init.php
    Line 227: @include( $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 : example-functions.php
    Line 413: require_once 'init.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