31
Validation results

VideoTube

VideoTube

WordPress 4.9.8 theme
31
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe class="frmvideo" width="'.$width.'" height="'.$height.'" src="//www.youtube.com/embed/'.$video_id.'?autoplay='.$autoplay.'" frameborder="0" allowfullscreen> in file Mars_VideoShortcode.php.
    Line 25: $frame = '<iframe class='frmvideo' width=''.$width.'' height=''.$height.'' src='//www
    Found <iframe src="'.get_template_directory_uri().'/documentation/documentation.html" name="test" height="1000px" width="100%"> in file documentation.php.
    Line 12: print '<iframe src=''.get_template_directory_uri().'/documentation/documentation.h
    Found <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FFacebookDevelopers&amp;width=360&amp;height=290&amp;colorscheme=light&amp;show_faces=true&amp;header=true&amp;stream=false&amp;show_border=false" width="360" height="260"> in file homepage-v1-2-columns-right-sidebar.php.
    Line 12: A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences.[/vc_wp_text][videotube type='widget' show='4' id='video-widget-2003' rows='1' columns='2' title='Top Videos Comment' orderby='comment_count' order='DESC'][videotube type='widget' show='4' id='video-widget-3338' rows='1' columns='2' title='Random Videos' orderby='ID' order='DESC'][vc_wp_text title='LIKE US ON FACEBOOK']<iframe src='//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.f
    Found <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FFacebookDevelopers&amp;width=360&amp;height=290&amp;colorscheme=light&amp;show_faces=true&amp;header=true&amp;stream=false&amp;show_border=false" width="360" height="260"> in file homepage-v5-1-column-right-sidebar-v2.php.
    Line 12: A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences.[/vc_wp_text][videotube type='widget' show='4' id='video-widget-2003' rows='1' columns='2' title='Top Videos Comment' orderby='comment_count' order='DESC'][videotube type='widget' show='4' id='video-widget-3338' rows='1' columns='2' title='Random Videos' orderby='ID' order='DESC'][vc_wp_text title='LIKE US ON FACEBOOK']<iframe src='//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.f
    Found <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FFacebookDevelopers&amp;width=360&amp;height=290&amp;colorscheme=light&amp;show_faces=true&amp;header=true&amp;stream=false&amp;show_border=false" width="360" height="260"> in file homepage-v1-2-columns-left-sidebar.php.
    Line 12: A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences.[/vc_wp_text][videotube type='widget' show='4' id='video-widget-2003' rows='1' columns='2' title='Top Videos Comment' orderby='comment_count' order='DESC'][videotube type='widget' show='4' id='video-widget-3338' rows='1' columns='2' title='Random Videos' orderby='ID' order='DESC'][vc_wp_text title='LIKE US ON FACEBOOK']<iframe src='//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.f
    Found <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FFacebookDevelopers&amp;width=360&amp;height=290&amp;colorscheme=light&amp;show_faces=true&amp;header=true&amp;stream=false&amp;show_border=false" width="360" height="260"> in file homepage-v5-1-column-right-sidebar.php.
    Line 11: A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences.[/vc_wp_text][videotube type='widget' show='4' id='video-widget-2003' rows='1' columns='2' title='Top Videos Comment' orderby='comment_count' order='DESC'][videotube type='widget' show='4' id='video-widget-3338' rows='1' columns='2' title='Random Videos' orderby='ID' order='DESC'][vc_wp_text title='LIKE US ON FACEBOOK']<iframe src='//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.f
    Found <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FFacebookDevelopers&amp;width=360&amp;height=290&amp;colorscheme=light&amp;show_faces=true&amp;header=true&amp;stream=false&amp;show_border=false" width="360" height="260"> in file homepage-v5-1-column-left-sidebar.php.
    Line 12: A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences.[/vc_wp_text][videotube type='widget' show='4' id='video-widget-2003' rows='1' columns='2' title='Top Videos Comment' orderby='comment_count' order='DESC'][videotube type='widget' show='4' id='video-widget-3338' rows='1' columns='2' title='Random Videos' orderby='ID' order='DESC'][vc_wp_text title='LIKE US ON FACEBOOK']<iframe src='//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.f
    Found <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FFacebookDevelopers&amp;width=360&amp;height=290&amp;colorscheme=light&amp;show_faces=true&amp;header=true&amp;stream=false&amp;show_border=false" width="360" height="260"> in file homepage-v5-1-column-left-sidebar-v2.php.
    Line 12: A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences.[/vc_wp_text][videotube type='widget' show='4' id='video-widget-2003' rows='1' columns='2' title='Top Videos Comment' orderby='comment_count' order='DESC'][videotube type='widget' show='4' id='video-widget-3338' rows='1' columns='2' title='Random Videos' orderby='ID' order='DESC'][vc_wp_text title='LIKE US ON FACEBOOK']<iframe src='//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.f
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php :
    Line 641: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
    File theme-options.php :
    Line 58: // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
  3. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was acf-gallery.zip js_composer_nulled.zip.
Warning
  1. theme tags : Presence of bad theme tagsThe tag fixed-layout has been deprecated, it must be removed from style.css header.The tag fluid-layout has been deprecated, it must be removed from style.css header.The tag responsive-layout has been deprecated, it must be removed from style.css header.The tag light has been deprecated, it must be removed from style.css header.The tag white has been deprecated, it must be removed from style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'The video size must be less than ', MB, 'mars' in file Mars_ShortcodeSubmitVideo.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 mars, tgmpa, ninetube, megatube, marstheme, copper, MB.
  3. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  4. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file Mars_Videos_Widget_Siderbar.php.Found a mix of \r\n and \n line endings in file Mars_LoginRegister_Template.php.Found a mix of \r\n and \n line endings in file functions.php.Found a mix of \r\n and \n line endings in file theme-options.php.Found a mix of \r\n and \n line endings in file Mars_MetaBox.php.Found a mix of \r\n and \n line endings in file Mars_Required_Plugins.php.Found a mix of \r\n and \n line endings in file Mars_MainPosts_Widgets.php.Found a mix of \r\n and \n line endings in file Mars_FeaturedPosts_Widgets.php.Found a mix of \r\n and \n line endings in file Mars_MainVideos_Widgets.php.Found a mix of \r\n and \n line endings in file hooks.php.Found a mix of \r\n and \n line endings in file Mars_FeaturedVideos_Widgets.php.Found a mix of \r\n and \n line endings in file videotube.php.Found a mix of \r\n and \n line endings in file Mars_Posts_Widget_Siderbar.php.Found a mix of \r\n and \n line endings in file Mars_ShortcodeListVideos.php.Found a mix of \r\n and \n line endings in file functions.php.
  5. Admin menu : Detection of user levels deprecated in WordPress 2.0. See Wordpress codex.File ajax.php :
    Line 532: if( current_user_can( 'level_1' ) || get_post_status( $post_id ) == 'publish' )
  6. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  7. 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.
  8. I18N implementation : Proper use of ___all(Possible variable $videosize found in translation function in Mars_ShortcodeSubmitVideo.php. Translation function calls should not contain PHP variables.
    Line 366: 'message'	=>	__('The video size must be less than ' . $videosize . 'MB','mars'),
  9. Screenshot : Screenshot fileScreenshot size is 880x660px. 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 term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  5. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  6. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  7. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  8. Use of includes : Use of include or requireThe theme appears to use include or require : class-composer.php
    Line 29: require_once ( MARS_THEME_DIR . '/includes/composer/attribute/order.php');
    Line 30: require_once ( MARS_THEME_DIR . '/includes/composer/attribute/orderby.php')
    Line 31: require_once ( MARS_THEME_DIR . '/includes/composer/attribute/fontawesome.p
    Line 37: require_once ( MARS_THEME_DIR . '/includes/composer/templates/index.php');
    Line 39: //require_once ( MARS_THEME_DIR . '/includes/composer/param/fullwidth.php');
    Line 41: require_once ( MARS_THEME_DIR . '/includes/composer/shortcodes/videotube.ph
    Line 42: require_once ( MARS_THEME_DIR . '/includes/composer/shortcodes/videotube_up
    Line 44: //require_once ( MARS_THEME_DIR . '/includes/composer/widgets/featured-video.
    Line 45: //require_once ( MARS_THEME_DIR . '/includes/composer/widgets/post1col.php');
    Line 46: require_once ( MARS_THEME_DIR . '/includes/composer/widgets/login-form.php'
    Line 47: require_once ( MARS_THEME_DIR . '/includes/composer/widgets/socialsbox.php'
    Line 48: require_once ( MARS_THEME_DIR . '/includes/composer/widgets/vt-tag-cloud.ph
    Line 49: require_once ( MARS_THEME_DIR . '/includes/composer/widgets/big-post.php');
    Line 50: require_once ( MARS_THEME_DIR . '/includes/composer/widgets/social-count-pl
    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 : ajax.php
    Line 142: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 278: require_once( ABSPATH . 'wp-admin/includes/file.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 : index.php
    Line 3: require_once 'homepage-v1-2-columns-left-sidebar.php';
    Line 4: require_once 'homepage-v1-2-columns-right-sidebar.php';
    Line 5: require_once 'homepage-v2-fullwidth-3-columns.php';
    Line 6: require_once 'homepage-v3-fullwidth-4-columns.php';
    Line 7: require_once 'homepage-v4-fullwidth-6-columns.php';
    Line 8: require_once 'homepage-v5-1-column-left-sidebar.php';
    Line 9: require_once 'homepage-v5-1-column-left-sidebar-v2.php';
    Line 10: require_once 'homepage-v5-1-column-right-sidebar.php';
    Line 11: require_once 'homepage-v5-1-column-right-sidebar-v2.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 ).

74
Critical alerts
  1. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was acf-gallery.zip js_composer_nulled.zip.
Warning
  1. theme tags : Presence of bad theme tagsThe tag fixed-layout has been deprecated, it must be removed from style.css header.The tag fluid-layout has been deprecated, it must be removed from style.css header.The tag responsive-layout has been deprecated, it must be removed from style.css header.The tag light has been deprecated, it must be removed from style.css header.The tag white has been deprecated, it must be removed from style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'The video size must be less than ', MB, 'mars' in file Mars_ShortcodeSubmitVideo.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 mars, tgmpa, ninetube, megatube, marstheme, copper, MB.
  3. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  4. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file Mars_Videos_Widget_Siderbar.php.Found a mix of \r\n and \n line endings in file Mars_LoginRegister_Template.php.Found a mix of \r\n and \n line endings in file functions.php.Found a mix of \r\n and \n line endings in file theme-options.php.Found a mix of \r\n and \n line endings in file Mars_MetaBox.php.Found a mix of \r\n and \n line endings in file Mars_Required_Plugins.php.Found a mix of \r\n and \n line endings in file Mars_MainPosts_Widgets.php.Found a mix of \r\n and \n line endings in file Mars_FeaturedPosts_Widgets.php.Found a mix of \r\n and \n line endings in file Mars_MainVideos_Widgets.php.Found a mix of \r\n and \n line endings in file hooks.php.Found a mix of \r\n and \n line endings in file Mars_FeaturedVideos_Widgets.php.Found a mix of \r\n and \n line endings in file videotube.php.Found a mix of \r\n and \n line endings in file Mars_Posts_Widget_Siderbar.php.Found a mix of \r\n and \n line endings in file Mars_ShortcodeListVideos.php.Found a mix of \r\n and \n line endings in file functions.php.
  5. Admin menu : Detection of user levels deprecated in WordPress 2.0. See Wordpress codex.File ajax.php :
    Line 532: if( current_user_can( 'level_1' ) || get_post_status( $post_id ) == 'publish' )
  6. Screenshot : Screenshot fileScreenshot size is 880x660px. 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 term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  5. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  6. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  7. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  8. Use of includes : Use of include or requireThe theme appears to use include or require : class-composer.php
    Line 29: require_once ( MARS_THEME_DIR . '/includes/composer/attribute/order.php');
    Line 30: require_once ( MARS_THEME_DIR . '/includes/composer/attribute/orderby.php')
    Line 31: require_once ( MARS_THEME_DIR . '/includes/composer/attribute/fontawesome.p
    Line 37: require_once ( MARS_THEME_DIR . '/includes/composer/templates/index.php');
    Line 39: //require_once ( MARS_THEME_DIR . '/includes/composer/param/fullwidth.php');
    Line 41: require_once ( MARS_THEME_DIR . '/includes/composer/shortcodes/videotube.ph
    Line 42: require_once ( MARS_THEME_DIR . '/includes/composer/shortcodes/videotube_up
    Line 44: //require_once ( MARS_THEME_DIR . '/includes/composer/widgets/featured-video.
    Line 45: //require_once ( MARS_THEME_DIR . '/includes/composer/widgets/post1col.php');
    Line 46: require_once ( MARS_THEME_DIR . '/includes/composer/widgets/login-form.php'
    Line 47: require_once ( MARS_THEME_DIR . '/includes/composer/widgets/socialsbox.php'
    Line 48: require_once ( MARS_THEME_DIR . '/includes/composer/widgets/vt-tag-cloud.ph
    Line 49: require_once ( MARS_THEME_DIR . '/includes/composer/widgets/big-post.php');
    Line 50: require_once ( MARS_THEME_DIR . '/includes/composer/widgets/social-count-pl
    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 : ajax.php
    Line 142: require_once( ABSPATH . 'wp-admin/includes/file.php' );
    Line 278: require_once( ABSPATH . 'wp-admin/includes/file.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 : index.php
    Line 3: require_once 'homepage-v1-2-columns-left-sidebar.php';
    Line 4: require_once 'homepage-v1-2-columns-right-sidebar.php';
    Line 5: require_once 'homepage-v2-fullwidth-3-columns.php';
    Line 6: require_once 'homepage-v3-fullwidth-4-columns.php';
    Line 7: require_once 'homepage-v4-fullwidth-6-columns.php';
    Line 8: require_once 'homepage-v5-1-column-left-sidebar.php';
    Line 9: require_once 'homepage-v5-1-column-left-sidebar-v2.php';
    Line 10: require_once 'homepage-v5-1-column-right-sidebar.php';
    Line 11: require_once 'homepage-v5-1-column-right-sidebar-v2.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