0
Validation results

SportPress

SportPress

WordPress 4.9.8 theme
0
    Error 8 : Undefined index: slug
    In /home/www/themecheck/themecheck/controllers/controller_results.php line 772
  • THEME TYPEWordPress theme 4.9.8
  • FILE NAMEsportpress.zip
  • FILE SIZE482679 bytes
  • MD5096c64337e79410bbaadb2b8e409451b
  • SHA1284705ef2ee2dca82f8896e3baae7213e2608d72
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, Bitmap images, Adobe Photoshop
  • THEME URIhttp://www.wpzoom.com/themes/sportpress
  • VERSION2.1
  • AUTHOR URI
  • CREATION DATE2014-10-02
  • LAST FILE UPDATE2017-03-06
  • LAST VALIDATION2017-03-06 07:09
  • OTHER VERSIONS

    2.4.2 : 0%

    1.1 : 87%

    1.0 : 70%

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.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Security breaches : Use of base64_decode() Found base64_decode in file option.php.
    Line 109: $xoptions = unserialize(stripslashes(base64_decode($xoptions)));
    Line 169: $options = unserialize(stripslashes(base64_decode($options)));
  3. Security breaches : Use of base64_encode() Found base64_encode in file option.php.
     return base64_encode(serialize(self::getOptions()));
     return base64_encode(serialize(self::getWidgetOptions()));
  4. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="http://www.wpzoom.com/frame/" width="100%" height="1790"> in file themes.php.
    Line 14: <iframe src='http://www.wpzoom.com/frame/' width='100%' height='1790'></ifr
    Found <iframe src="http://www.wpzoom.com/frame/welcome/" width="1" height="1"> in file welcome.php.
    Line 1: <iframe src='http://www.wpzoom.com/frame/welcome/' width='1' height='1'></i
    Found <iframe src="http://www.facebook.com/plugins/like.php?href='.$url.'&amp;layout='.$style.'&amp;show_faces='.$showfaces.'&amp;width='.$width.'&amp;action='.$verb.'&amp;colorscheme='.$colorscheme.'&amp;font=' . $font . '" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:'.$width.'px; height:'.$height.'px"> in file shortcodes.php.
    Line 341: <iframe src='http://www.facebook.com/plugins/like.php?href='.$url.'&amp;lay
  5. Malware : Operations on file system file_get_contents was found in the file settings-page.php
    Line 196: $settings = file_get_contents($settingsFile);
    file_get_contents was found in the file dashboard.php
    Line 69: $lastTheme = @file_get_contents('http://www.wpzoom.com/themes/?last-theme=true');
  6. Admin menu : Themes should use add_theme_page() for adding admin pages. File admin.php :
    Line 85: add_object_page ( 'Page Title', 'WPZOOM', 'manage_options','wpzoom_options'
    File admin.php :
    Line 87: add_submenu_page('wpzoom_options', 'WPZOOM',            'Theme Options',   
    Line 90: add_submenu_page('wpzoom_options', 'Update Framework', 'Update Framework', 
    Line 94: add_submenu_page('wpzoom_options', 'New Themes',     'New Themes',     'man
    File admin.php :
    Line 87: add_submenu_page('wpzoom_options', 'WPZOOM',            'Theme Options',   
    Line 90: add_submenu_page('wpzoom_options', 'Update Framework', 'Update Framework', 
    Line 94: add_submenu_page('wpzoom_options', 'New Themes',     'New Themes',     'man
    File admin.php :
    Line 87: add_submenu_page('wpzoom_options', 'WPZOOM',            'Theme Options',   
    Line 90: add_submenu_page('wpzoom_options', 'Update Framework', 'Update Framework', 
    Line 94: add_submenu_page('wpzoom_options', 'New Themes',     'New Themes',     'man
  7. Deprecated functions : add_object_page add_object_page found in file admin.php. Deprecated since version 4.5. Use add_menu_page instead.
    Line 85: add_object_page ( 'Page Title', 'WPZOOM', 'manage_options','wpzoom_options'
  8. Deprecated functions : get_bloginfo get_bloginfo( 'template_url' ) was found in the file wpzoom-slider.php. Use get_template_directory_uri() instead.
    Line 61: $shadow = get_bloginfo( 'template_url' );
    get_bloginfo('template_directory') was found in the file social.php. Use get_template_directory_uri() instead.
    Line 44: echo '<li><a class=''.$id.'' href=''.$instance[$id].'' rel='external,nofollow' title=''.$instance[$iditem].''><img src=''. get_bloginfo('template_directory') .'/images/icons/'.strtolower($item).'.pn
  9. Deprecated functions : bloginfo bloginfo('template_url') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 15: <!--[if IE 7 ]><link rel='stylesheet' type='text/css' href='<?php bloginfo('template_url'); ?>/ie7.css' /><![endif]-->
    bloginfo('url') was found in the file searchform.php. Use echo esc_url( home_url() ) instead.
    Line 1: <form method='get' id='searchform' action='<?php bloginfo('url'); ?>/'>
    bloginfo('template_url') was found in the file footer.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 4: <p class='wpzoom'><a href='http://www.wpzoom.com' target='_blank'><?php _e('Sport WordPress Theme', 'wpzoom'); ?></a> <?php _e('by', 'wpzoom'); ?> <a href='http://www.wpzoom.com' target='_blank' title='Sport WordPress Themes'><img src='<?php bloginfo('template_url'); ?>/images/wpzoom.png' alt='WPZOOM' /></a></p>
    bloginfo('template_directory') was found in the file social.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 44: echo '<li><a class=''.$id.'' href=''.$instance[$id].'' rel='external,nofollow' title=''.$instance[$iditem].''><img src=''. get_bloginfo('template_directory') .'/images/icons/'.strtolower($item).'.png' a
    Line 105: <img style='float: left; margin:0 8px 0 0;' src='<?php echo bloginfo('template_directory') ?>/images/icons/<?php echo $id; ?>.png' />
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments '<cite class="fn">%s</cite>' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments '%1$s <br/> ' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments '%2$s' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments '{Edit}' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'WPZOOM: Tabs Widget Area' in file sidebar.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Build your tabbed area by placing widgets here. !! DO NOT PLACE THE WPZOOM: TABS IN THIS AREA. ' in file sidebar.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Drag me to the Sidebar' in file tabs.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'WPZOOM: Tabs' in file tabs.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Place your widgets in the <strong>WPZOOM: Tabs Widget Area</strong> and have them show up here.' in file tabs.php.
  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. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  5. Fundamental theme elements : Presence of post_class()Could not find post_class.
  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. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  9. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  10. CSS files : Presence of .screen-reader-text class.screen-reader-text css class is needed in your theme css. See : the Codex for an example implementation.
  11. Date and time implementation : Use of the_time()At least one hard coded date was found in the file archive.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file single.php. Function get_option( 'date_format' ) should be used instead.
  12. Screenshot : Screenshot fileScreenshot size is 300x225px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file footer.php.
    Line 4: <p class='wpzoom'><a href='http://www.wpzoom.com' target='_blank'><?php _e('Sport WordPress Theme', 'w
    Line 44: <a href='http://www.wplocker.com'>shared on wplocker.com</a>
    Possible hard-coded links were found in the file flickrwidget.php.
    Line 81: <span class='description' style='font-size:11px;'>Find your Flickr ID: <a href='http://www.idgettr.com' target='_blank'>idGettr</a></span>
    Line 87: <span class='description' style='font-size:11px;'>Find your Flickr ID: <a href='http://www.idgettr.com' target='_blank'>idGettr</a></span>
    Line 81: <span class='description' style='font-size:11px;'>Find your Flickr ID: <a href='http://www.idgettr.com' target='_blank'>idGettr</a></span>
    Line 87: <span class='description' style='font-size:11px;'>Find your Flickr ID: <a href='http://www.idgettr.com' target='_blank'>idGettr</a></span>
    Possible hard-coded links were found in the file facebook-like-box.php.
    Line 107: <small>* Example of page URL: <br />http://www.facebook.com/wpzoom<br />You can get your page username here: <br /><a href='https://www.facebook.com/username/' target='_blank'>https://www.facebook.co
    Possible hard-coded links were found in the file news.php.
    Line 13: <li><a href='http://www.wpzoom.com/themes/'>More Themes</a></li>
    Line 14: <li><a href='http://www.wpzoom.com/support/'>Support</a></li>
    Line 15: <li><a href='http://www.wpzoom.com/category/showcase/'>Theme Showcase</a></li>
    Possible hard-coded links were found in the file admin.php.
    Line 14: <p>Can't save options. Please contact <a href='http://wpzoom.com/forum'>WPZOOM support</a>.</p>
    Line 43: <a href='http://www.wpzoom.com/forum' target='_blank'>Support Forum</a>
    Possible hard-coded links were found in the file theme-updater.php.
    Line 121: echo '<u><a href='http://wploy.wpzoom.com/changelog/' . WPZOOM::$theme_raw_name . '?TB_iframe=true' class='thickbox thickbox-preview'>Check out what\'s new</a></u> or visit our tutorial on <u><a href='http://www.wpzoom.com/tutorial/how-to-update-a-wpzoom-theme/'>updating them
    Possible hard-coded links were found in the file shortcodes.php.
    Line 232: $output = '<div class='wpz-sc-twitter '.$float.''><a href='http://twitter.com/share' class='twitter-share-button''.$output.' data-coun
    Possible hard-coded links were found in the file settings-page.php.
    Line 114: ,'content'  => '<p>Some themes provide customization options that are grouped together on a Theme Options screen. If you change themes, options may change or disappear, as they are theme-specific. </p><p>Your current theme is running on <a href='http://www.wpzoom.com/framework-tour/' target='_blank'>ZOOM Framework</a>. 
    Line 120: '<p>' . __( '<a href='http://www.wpzoom.com/support/documentation' target='_blank'>Documentation 
    Line 121: '<p>' . __( '<a href='http://www.wpzoom.com/forum/' target='_blank'>Support Forums</a>', 'wpzoom'
    Possible hard-coded links were found in the file dashboard.php.
    Line 80: <a href='http://wpzoom.com/themes/' target='_blank' alt='Browse our wide selection o
  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 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 : twitter.php
    Line 11: require_once(ABSPATH . WPINC . '/class-simplepie.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 : preview-shortcode-external.php
    Line 19: require_once( $url . '/wp-load.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 : dialog-js.php
    Line 12: require_once( $url . '/wp-load.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 : dialog.php
    Line 10: require_once( $url . '/wp-load.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 : news.php
    Line 23: include_once(ABSPATH . WPINC . '/class-simplepie.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 : wpzoom.php
    Line 52: require_once($localeFile);
    Line 62: return require_once(FUNC_INC . '/theme/config.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 : video-thumb.php
    Line 240: require_once(ABSPATH . WPINC . '/class-oembed.php');
    Line 331: require_once(ABSPATH . 'wp-admin/includes/image.php');
    Line 332: require_once(ABSPATH . 'wp-admin/includes/file.php');
    Line 333: 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 : admin.php
    Line 66: require_once(WPZOOM_INC . '/pages/welcome.php');
    Line 70: require_once(WPZOOM_INC . '/pages/admin.php');
    Line 74: require_once(WPZOOM_INC . '/pages/themes.php');
    Line 78: require_once(WPZOOM_INC . '/pages/update.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 : settings-page.php
    Line 278: include('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 : dashboard.php
    Line 17: include_once(ABSPATH . WPINC . '/class-simplepie.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 : option.php
    Line 70: $themeOptions = include(FUNC_INC . '/theme/options.php');
    Line 71: $wpzoomOptions = include(WPZOOM_INC . '/options.php');
    Line 112: $themeOptions = include(FUNC_INC . '/theme/options.php');
    Line 113: $wpzoomOptions = include(WPZOOM_INC . '/options.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