0
Validation results

DUX

DUX

WordPress 4.6+ theme
0
  • THEME TYPEWordPress theme 4.6+
  • FILE NAMEdux.zip
  • FILE SIZE1118003 bytes
  • MD52ae9f6ce7067a31f08d415cc922bb9e3
  • SHA1cb34d2f6d555dc418261abb66b21391ec314e735
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images, Adobe Photoshop
  • VERSION1.3
  • CREATION DATE2020-06-12
  • LAST FILE UPDATE2020-06-12
  • LAST VALIDATION2020-06-12 20:52
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
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. Hidden admin bar : Hidden admin Bar Themes should not hide admin bar. Detected in file : fn.php.
  3. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  4. Deprecated functions : get_currentuserinfo get_currentuserinfo found in file comments.php. Deprecated since version 4.5. Use wp_get_current_user instead.45: get_currentuserinfo();
  5. Deprecated functions : get_bloginfo get_bloginfo('url') was found in the file resetpassword.php. Use home_url() instead.137: <p class='text-center'><a class='btn btn-success btn-lg' href='<?php echo get_bloginfo('url') ?>'>回首页</a></p>get_bloginfo('url') was found in the file fn.php. Use home_url() instead.361: echo '<' . $tag . ' class='logo'><a href='' . get_bloginfo('url') . '' title='' . get_bloginfo('name') . _get_delimiter()686: $content .= '<p class='post-copyright'>' . _hui('post_copyright') . '<a href='' . get_bloginfo('url') . ''>' . get_bloginfo('name') . '</a> &raquo; <a href='get_bloginfo('url') was found in the file content-404.php. Use home_url() instead.7: <a class='btn btn-primary' href='<?php echo get_bloginfo('url') ?>'>返回 <?php echo get_bloginfo('name') ?> 首页</a
  6. Deprecated functions : bloginfo bloginfo('template_url') was found in the file single.php. Use echo esc_url( get_template_directory_uri() ) instead.66: $.getScript( '<?php bloginfo('template_url'); ?>/js/libs/jquery.flipster.min.js', function( dat
  7. Deprecated functions : get_option get_option('home') was found in the file fn.php. Use home_url() instead.53: $home = get_option('home');
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in fn.php. Themes must not deregister core scripts. 208: wp_deregister_script('jquery');211: wp_deregister_script('l10n');
  2. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments '' in file navs.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Sorry, that key does not appear to be valid.' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Sorry, that key has expired. Please try again.' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'The passwords do not match.' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<strong>ERROR</strong>: Enter a username or e-mail address.' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<strong>ERROR</strong>: There is no user registered with that email address.' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<strong>ERROR</strong>: Invalid username or e-mail.' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Password reset is not allowed for this user' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Someone requested that the password be reset for the following account:' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Username: %s' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'If this was a mistake, just ignore this email and nothing will happen.' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'To reset your password, visit the following address:' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments '[%s] Password Reset' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'The e-mail could not be sent.' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Possible reason: your host may have disabled the mail() function.' in file resetpassword.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Simple URLs' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'URL' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Add New' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Add New URL' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Edit' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Edit URL' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'New URL' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'View URL' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'View URL' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Search URL' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'No URLs found' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'No URLs found in Trash' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Title' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Redirect to' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Permalink' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Clicks' in file simple-url.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Invalid comment status.' in file comment.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 options_framework_theme, haoui, twentytwelve, surl, textdomain, options-framework.
  4. Cdn : Use of CDNFound the URL of a CDN in the code: maxcdn.bootstrapcdn.com/bootstrap. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  5. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.
  6. Fundamental theme elements : Presence of language_attributes()Could not find .
  7. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  8. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  9. Comment reply : Declaration of comment replyCould not find the comment-reply script enqueued, however a reference to 'comment-reply' was found. Make sure that the comment-reply js script is being enqueued properly on singular pages.
  10. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  11. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  12. CSS files : Presence of license typeLicense: is missing from style.css header.
  13. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  14. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  15. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  16. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  17. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  18. 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.
  19. Date and time implementation : Use of the_time()At least one hard coded date was found in the file archives.php. Function get_option( 'date_format' ) should be used instead.
  20. Screenshot : Screenshot fileScreenshot dimensions are wrong! Detected: 840x660px (14:11). Ratio of width to height should be 4:3.Screenshot size is 840x660px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.
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. Use of includes : Use of include or requireThe theme appears to use include or require : widget-index.php 21: include 'widget-'.$widget.'.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.php 6: include 'load.php';194: require_once( ABSPATH.WPINC.'/class-phpass.php' );202: // require_once( ABSPATH.WPINC.'/registration.php' );274: // require_once( ABSPATH.WPINC.'/registration.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 : log.php 6: include 'load.php';185: require_once( ABSPATH.WPINC.'/class-phpass.php' );193: require_once( ABSPATH.WPINC.'/registration.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 : comment.php 9: require( dirname(__FILE__).'/../../../../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.
Other checked themes