57
Validation results

betube

betube

WordPress 4.9.8 theme
57
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe width="560" height="315" src="<?php echo $embedURL; ?> in file single.php.
    Line 494: <textarea rows='' cols='' readonly><iframe width='560' height='315' src='<?php echo $embedURL; ?>' frameborder
    Found <iframe width="770" height="600" src="'.$url.'" frameborder="0" allowfullscreen> in file video-functions.php.
    Line 48: $video = '<iframe width='770' height='600' src=''.$url.'' frameborder='0' allowfullsc
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File theme-options.php :
    Line 109: // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
Warning
  1. Plugin territory : Plugin territory functionalitiesThe theme uses the register_taxonomy() function, which is plugin-territory functionality.
  2. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  3. 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. favicon presence : Favicon managementPossible Favicon found in header.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  2. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file functions.php.
    Line 613: <p class='description'><?php esc_html_e( 'AwesomeFont code', 'betube' ); ?>: <a href='http://fontawesome.io/icons/' target='_blank'>fontawesome.io/icons</a> Ex: 
    Possible hard-coded links were found in the file theme-options.php.
    Line 241: 'content' => __( '<p>For Video tutorial please visit <a href='https://www.youtube.com/user/JoinWebs/playlists'>https://www.youtube.com/us
    Line 246: 'content' => __( '<p>For Documentation please visit <a href='http://beetube.me/docs/'>betube docs</a></p>', 'betube' )
    Line 2239: 'desc' => __('Put Google API Key here to run Google MAP. If you dont know how to get API key Please Visit  <a href='http://www.tthemes.com/get-google-api-key/' target='_blank'>Google API Key<
    Line 177: 'href'  => 'http://beetube.me/docs',
    Line 246: 'content' => __( '<p>For Documentation please visit <a href='http://beetube.me/docs/'>betube docs</a></p>', 'betube' )
    Line 2440: 'desc'   => __( 'For full documentation on this field, visit: ', 'betube' ) . '<a href='http://beetube.me/docs' target='_blank'>BeTube Documentation</a>',
  3. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.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 home template file home.phpThis theme does not contain optional file home.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 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 : search.php
    Line 75: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : single-movies.php
    Line 116: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 254: include_once( ABSPATH . 'wp-admin/includes/plugin.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-register.php
    Line 162: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 174: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 186: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 197: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : category.php
    Line 149: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 265: include_once( ABSPATH . 'wp-admin/includes/plugin.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-login.php
    Line 84: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 96: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 108: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 119: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : single.php
    Line 68: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 425: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );								
    Line 502: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 644: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : betubecontentfunction.php
    Line 111: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 231: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 425: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 545: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : betube-email.php
    Line 19: include(get_template_directory() . '/templates/email/email-header.php');
    Line 42: include(get_template_directory() . '/templates/email/email-footer.php');
    Line 67: include(get_template_directory() . '/templates/email/email-header.php');
    Line 94: include(get_template_directory() . '/templates/email/email-footer.php');
    Line 115: include(get_template_directory() . '/templates/email/email-header.php');
    Line 131: include(get_template_directory() . '/templates/email/email-footer.php');
    Line 149: include(get_template_directory() . '/templates/email/email-header.php');
    Line 163: include(get_template_directory() . '/templates/email/email-footer.php');
    Line 183: include(get_template_directory() . '/templates/email/email-header.php');
    Line 200: include(get_template_directory() . '/templates/email/email-footer.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 : betubesectionfunction.php
    Line 117: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 248: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 445: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 579: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 774: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 908: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : randomcat.php
    Line 102: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : loop-archive-video.php
    Line 41: include_once( ABSPATH . 'wp-admin/includes/plugin.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-all-posts.php
    Line 130: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 244: include_once( ABSPATH . 'wp-admin/includes/plugin.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 ).

98
Warning
  1. Plugin territory : Plugin territory functionalitiesThe theme uses the register_taxonomy() function, which is plugin-territory functionality.
  2. 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. favicon presence : Favicon managementPossible Favicon found in header.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  2. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file functions.php.
    Line 613: <p class='description'><?php esc_html_e( 'AwesomeFont code', 'betube' ); ?>: <a href='http://fontawesome.io/icons/' target='_blank'>fontawesome.io/icons</a> Ex: 
    Possible hard-coded links were found in the file theme-options.php.
    Line 241: 'content' => __( '<p>For Video tutorial please visit <a href='https://www.youtube.com/user/JoinWebs/playlists'>https://www.youtube.com/us
    Line 246: 'content' => __( '<p>For Documentation please visit <a href='http://beetube.me/docs/'>betube docs</a></p>', 'betube' )
    Line 2239: 'desc' => __('Put Google API Key here to run Google MAP. If you dont know how to get API key Please Visit  <a href='http://www.tthemes.com/get-google-api-key/' target='_blank'>Google API Key<
    Line 177: 'href'  => 'http://beetube.me/docs',
    Line 246: 'content' => __( '<p>For Documentation please visit <a href='http://beetube.me/docs/'>betube docs</a></p>', 'betube' )
    Line 2440: 'desc'   => __( 'For full documentation on this field, visit: ', 'betube' ) . '<a href='http://beetube.me/docs' target='_blank'>BeTube Documentation</a>',
  3. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.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 home template file home.phpThis theme does not contain optional file home.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 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 : search.php
    Line 75: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : single-movies.php
    Line 116: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 254: include_once( ABSPATH . 'wp-admin/includes/plugin.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-register.php
    Line 162: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 174: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 186: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 197: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : category.php
    Line 149: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 265: include_once( ABSPATH . 'wp-admin/includes/plugin.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-login.php
    Line 84: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 96: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 108: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 119: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : single.php
    Line 68: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 425: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );								
    Line 502: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 644: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : betubecontentfunction.php
    Line 111: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 231: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 425: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 545: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : betube-email.php
    Line 19: include(get_template_directory() . '/templates/email/email-header.php');
    Line 42: include(get_template_directory() . '/templates/email/email-footer.php');
    Line 67: include(get_template_directory() . '/templates/email/email-header.php');
    Line 94: include(get_template_directory() . '/templates/email/email-footer.php');
    Line 115: include(get_template_directory() . '/templates/email/email-header.php');
    Line 131: include(get_template_directory() . '/templates/email/email-footer.php');
    Line 149: include(get_template_directory() . '/templates/email/email-header.php');
    Line 163: include(get_template_directory() . '/templates/email/email-footer.php');
    Line 183: include(get_template_directory() . '/templates/email/email-header.php');
    Line 200: include(get_template_directory() . '/templates/email/email-footer.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 : betubesectionfunction.php
    Line 117: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 248: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 445: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 579: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 774: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 908: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : randomcat.php
    Line 102: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : loop-archive-video.php
    Line 41: include_once( ABSPATH . 'wp-admin/includes/plugin.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-all-posts.php
    Line 130: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 244: include_once( ABSPATH . 'wp-admin/includes/plugin.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