15
Validation results

King

King

WordPress 4.9.8 theme
15
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. Inapropriate constants : Use of HEADER_TEXTCOLOR Constant HEADER_TEXTCOLOR was found in the file customizer-head.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 52: if ( HEADER_TEXTCOLOR === $header_text_color ) {
  3. Deprecated functions : get_bloginfo get_bloginfo( 'url' ) was found in the file template-edit-post.php. Use home_url() instead.
    Line 386: <a onclick='return confirm('Are you SURE you want to delete this post?')' href='<?php	echo wp_nonce_url('' . get_bloginfo( 'url' ) . '/wp-admin/post.php?post=' . $postid . '&action=del
  4. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was advanced-custom-fields-pro.zip envato-market.zip.
Warning
  1. 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 king, tgmpa, woocommerce.
  2. 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.
  3. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file style.css.
  4. 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.
  5. 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 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 : template-submit-video.php
    Line 222: require_once( ABSPATH . 'wp-admin/includes/file.php' ); // Download file to
    Line 264: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 265: require_once( ABSPATH . 'wp-admin/includes/media.php' );
    Line 266: require_once( ABSPATH . 'wp-admin/includes/image.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 : googleplusoauth.php
    Line 139: require_once( ABSPATH . 'wp-admin/includes/image.php' );
    Line 140: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 141: require_once( ABSPATH . 'wp-admin/includes/media.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 : facebookoauth.php
    Line 156: require_once( ABSPATH . 'wp-admin/includes/image.php' );
    Line 157: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 158: require_once( ABSPATH . 'wp-admin/includes/media.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 : template-submit-news.php
    Line 147: require_once( ABSPATH . 'wp-admin/includes/image.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 : template-edit-post.php
    Line 202: require_once( ABSPATH . 'wp-admin/includes/file.php' ); // Download file to
    Line 244: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 245: require_once( ABSPATH . 'wp-admin/includes/media.php' );
    Line 246: require_once( ABSPATH . 'wp-admin/includes/image.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 : user-settings.php
    Line 162: require_once( ABSPATH . 'wp-admin/includes/image.php' );
    Line 205: require_once( ABSPATH . 'wp-admin/includes/image.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.

This is a ThemeForest theme. Since Themeforest items are all checked by a human before they appear on their website, ThemeForest verification rules are more permissive than themecheck's and can give a better verification score ( Themeforest requirements ).

16
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. Inapropriate constants : Use of HEADER_TEXTCOLOR Constant HEADER_TEXTCOLOR was found in the file customizer-head.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 52: if ( HEADER_TEXTCOLOR === $header_text_color ) {
  3. Deprecated functions : get_bloginfo get_bloginfo( 'url' ) was found in the file template-edit-post.php. Use home_url() instead.
    Line 386: <a onclick='return confirm('Are you SURE you want to delete this post?')' href='<?php	echo wp_nonce_url('' . get_bloginfo( 'url' ) . '/wp-admin/post.php?post=' . $postid . '&action=del
  4. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was advanced-custom-fields-pro.zip envato-market.zip.
Warning
  1. 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 king, tgmpa, woocommerce.
  2. 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.
  3. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file style.css.
  4. 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 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 : template-submit-video.php
    Line 222: require_once( ABSPATH . 'wp-admin/includes/file.php' ); // Download file to
    Line 264: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 265: require_once( ABSPATH . 'wp-admin/includes/media.php' );
    Line 266: require_once( ABSPATH . 'wp-admin/includes/image.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 : googleplusoauth.php
    Line 139: require_once( ABSPATH . 'wp-admin/includes/image.php' );
    Line 140: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 141: require_once( ABSPATH . 'wp-admin/includes/media.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 : facebookoauth.php
    Line 156: require_once( ABSPATH . 'wp-admin/includes/image.php' );
    Line 157: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 158: require_once( ABSPATH . 'wp-admin/includes/media.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 : template-submit-news.php
    Line 147: require_once( ABSPATH . 'wp-admin/includes/image.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 : template-edit-post.php
    Line 202: require_once( ABSPATH . 'wp-admin/includes/file.php' ); // Download file to
    Line 244: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 245: require_once( ABSPATH . 'wp-admin/includes/media.php' );
    Line 246: require_once( ABSPATH . 'wp-admin/includes/image.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 : user-settings.php
    Line 162: require_once( ABSPATH . 'wp-admin/includes/image.php' );
    Line 205: require_once( ABSPATH . 'wp-admin/includes/image.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