0
Validation results

Asports

Asports

WordPress 4.9 theme
0
  • THEME TYPEWordPress theme 4.9
  • FILE NAMEsports.zip
  • FILE SIZE7570872 bytes
  • MD58108e564b142e465d093f31cd6e245eb
  • SHA10033f496f22ad97853c93bf1abf105c994d019f8
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, HTML, XML, Bitmap images, Adobe Illustrator
  • THEME URIhttp://underscores.me/
  • VERSION1.0.0
  • AUTHOR URI
  • TAGScustom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
  • CREATION DATE2017-11-11
  • LAST FILE UPDATE2017-11-11
  • LAST VALIDATION2017-11-11 08:13
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file extension_customizer.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. Unwanted files : hidden file(s) or folder(s) .editorconfig .jshintrc was found.
  3. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3164.289259162295!2d-120.7989351!3d37.5246781!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x8091042b3386acd7%3A0x3b4a4cedc60363dd!2sMain+St%2C+Denair%2C+CA+95316%2C+Hoa+K%E1%BB%B3!5e0!3m2!1svi!2s!4v1434016649434" width="100%" height="450px" frameborder="0" style="border: 0"> in file contact.php.
    Line 10: <iframe src='https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3164.289
  4. Malware : Operations on file system fopen was found in the file class.redux_helpers.php
    Line 665: //$fp = fopen( $file, 'r' );
    fread was found in the file class.redux_helpers.php
    Line 668: //$file_data = fread( $fp, 8192 );
    fclose was found in the file class.redux_helpers.php
    Line 671: //fclose( $fp );
  5. Admin menu : Themes should use add_theme_page() for adding admin pages. File sports-config.php :
    Line 109: // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
    File barebones-config.php :
    Line 67: // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
    File sample-config.php :
    Line 109: // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
    File framework.php :
    Line 1361: // wrappers and need to be appened to using add_submenu_page.
    Line 1412: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission
    Line 1470: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
    File framework.php :
    Line 1361: // wrappers and need to be appened to using add_submenu_page.
    Line 1412: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission
    Line 1470: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
    File framework.php :
    Line 1438: $this->page = call_user_func( 'add_menu_page', $this->args['page_title'], $this->args['menu_title'], $this
    File framework.php :
    Line 1361: // wrappers and need to be appened to using add_submenu_page.
    Line 1412: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission
    Line 1470: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
    File welcome.php :
    Line 201: $page = 'add_management_page';
  6. Comment reply : Declaration of comment reply Could not find the comment-reply js script enqueued.
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in framework.php. Themes must not deregister core scripts.
    Line 565: wp_deregister_script( 'wpb_ace' );
    Found wp_deregister_script in enqueue.php. Themes must not deregister core scripts.
    Line 215: wp_deregister_script( 'jquerySelect2' );
  2. theme tags : Presence of bad theme tagsFound wrong tag custom-logo in style.css header.
  3. Text domain : Incorrect use of translation functions.Wrong installation directory for the theme name. The directory name must match the slug of the theme. This theme's correct slug and text-domain is asports.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Our Client' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'client' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Add New client' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'New client' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Slider' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'slider' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Add New slider' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'New slider' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Our Team' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'ourteam' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Add New ourteam' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'New ourteam' in file functions.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 sports , sports, corlate, redux-framework, redux-framework-demo, themecheck.
  5. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.
  6. PHP short tags : Presence of PHP short tagsPHP short tags were found in file sports-home.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Line 112: <div class='info'>Posted on <?php the_date('F d, Y'); ?> in: <a href='<?php the_permalink(); ?>'>Featur
    PHP short tags were found in file parsedown.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Line 772: if (preg_match('/^\[(.+?)\]:[ ]*<?(\S+?)>?(?:[ ]+['\'(](.+)['\')])?[ ]*$/', $Line['text'], $matches))
  7. Comment pagination : Declaration of comment paginationThe theme doesn't have comment pagination code in it. Use paginate_comments_links() to add comment pagination, or older previous_comments_link() and next_comments_link() functions.
  8. 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.
  9. 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. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file category-page.php.
    Line 28: <a href='single.html'><h3><?php the_title(); ?></h3></a>
    Line 61: <a href='single.html'><h3><?php the_title(); ?></h3></a>
    Line 28: <a href='single.html'><h3><?php the_title(); ?></h3></a>
    Line 61: <a href='single.html'><h3><?php the_title(); ?></h3></a>
    Possible hard-coded links were found in the file sports-home.php.
    Line 111: <a href='single.html'><h3><?php the_title(); ?></h3></a>
    Line 145: <a href='single.html'><h3><?php the_title(); ?></h3></a>
    Line 111: <a href='single.html'><h3><?php the_title(); ?></h3></a>
    Line 145: <a href='single.html'><h3><?php the_title(); ?></h3></a>
    Possible hard-coded links were found in the file welcome.php.
    Line 482: <a href='http://docs.reduxframework.com/' class='docs button button-primary'>Docs</a
    Line 485: <a href='https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MMFMHW
  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 : framework.php
    Line 410: require_once 'core/dashboard.php';
    Line 414: require_once 'core/newsflash.php';
    Line 1719: require_once 'core/enqueue.php';
    Line 2868: require_once 'core/enqueue.php';
    Line 2926: require_once 'core/panel.php';
    Line 3278: require_once 'core/panel.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 : extension_customizer.php
    Line 753: require_once( $class_file );
    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 : class.redux_api.php
    Line 534: include_once( $api_check );
    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 : welcome.php
    Line 378: require_once 'views/about.php';
    Line 393: require_once 'views/changelog.php';
    Line 408: require_once 'views/extensions.php';
    Line 424: require_once 'views/support.php';
    Line 439: require_once 'views/credits.php';
    Line 454: require_once 'views/status_report.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