56
Validation results

King

King

WordPress 4.9.1 theme
56
Critical alerts
  1. 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 ) {
  2. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was advanced-custom-fields-pro.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.
  2. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file style.css.
  3. 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.
  4. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file acf-options.php.
    Line 76: 'instructions' => 'by <a href='https://fonts.google.com/' target='_blank'>Google Fonts</a>',
    Line 2380: 'message' => 'Facebook App ID and Secret Key required to count facebook share. You can create an app after login <a href='https://developers.facebook.com/' target='_blank'>HERE</a>',
    Line 4573: 'instructions' => 'Add custom social links , You can select icon <a href='http://fontawesome.io/icons/' target='_blank'>Here </a>',
    Line 4582: 'placeholder' => 'ex: <li><a href='http://facebook.com/'><i class='fa fa-facebook'></i></a></li>',
  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 author template file author.phpThis theme does not contain optional file author.php.
  9. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.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 : template-submit-video.php
    Line 217: require_once( ABSPATH . 'wp-admin/includes/file.php' ); // Download file to
    Line 259: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 260: require_once( ABSPATH . 'wp-admin/includes/media.php' );
    Line 261: 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 157: require_once( ABSPATH . 'wp-admin/includes/image.php' );
    Line 200: 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 ).

57
Critical alerts
  1. 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 ) {
  2. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was advanced-custom-fields-pro.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.
  2. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file style.css.
  3. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file acf-options.php.
    Line 76: 'instructions' => 'by <a href='https://fonts.google.com/' target='_blank'>Google Fonts</a>',
    Line 2380: 'message' => 'Facebook App ID and Secret Key required to count facebook share. You can create an app after login <a href='https://developers.facebook.com/' target='_blank'>HERE</a>',
    Line 4573: 'instructions' => 'Add custom social links , You can select icon <a href='http://fontawesome.io/icons/' target='_blank'>Here </a>',
    Line 4582: 'placeholder' => 'ex: <li><a href='http://facebook.com/'><i class='fa fa-facebook'></i></a></li>',
  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 author template file author.phpThis theme does not contain optional file author.php.
  9. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.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 : template-submit-video.php
    Line 217: require_once( ABSPATH . 'wp-admin/includes/file.php' ); // Download file to
    Line 259: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 260: require_once( ABSPATH . 'wp-admin/includes/media.php' );
    Line 261: 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 157: require_once( ABSPATH . 'wp-admin/includes/image.php' );
    Line 200: 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