0
Validation results

Autumn

Autumn

WordPress 5.3 theme
0
  • THEME TYPEWordPress theme 5.3
  • FILE NAMEAutumn-2.0.1.zip
  • FILE SIZE333738 bytes
  • MD515ab29bc5353d9434d57018670f6f1b1
  • SHA11618c1ab25bdae72d83bd1ef49abcde0efb37242
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://www.xintheme.com
  • VERSION2.0.1
  • AUTHOR URI
  • CREATION DATE2019-10-22
  • LAST FILE UPDATE2019-10-22
  • LAST VALIDATION2019-10-22 07:49
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="https://v.qq.com/iframe/player.html?vid=<?php echo get_post_meta($post-> in file single-top.php. 10: <iframe src='https://v.qq.com/iframe/player.html?vid=<?php echo get_post_me
  2. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file admin.php. get_template_directory() should be used instead. 12: 'page_file' => TEMPLATEPATH .'/admin/theme-setting.php', 19: 'page_file' => TEMPLATEPATH .'/admin/theme-support.php', 33: require TEMPLATEPATH .'/admin/post-options.php';39: require TEMPLATEPATH .'/admin/post-options.php';45: require TEMPLATEPATH .'/admin/term-options.php';51: require TEMPLATEPATH .'/admin/term-options.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_bloginfo get_bloginfo('template_url') was found in the file profile.php. Use get_template_directory_uri() instead.59: <form action='<?php echo get_bloginfo('template_url');?>/user/action/avatar.php' method='post' class105: <script src='<?php echo get_bloginfo('template_url');?>/static/js/jquery.form.js'></script>get_bloginfo("template_url") was found in the file login.php. Use get_template_directory_uri() instead.1: <script>window._WPJAM_XinTheme = {uri: '<?php echo get_bloginfo('template_url') ?>'}</script>get_bloginfo('template_directory') was found in the file hooks.php. Use get_template_directory_uri() instead.363: $value['login_head'] = '<link rel='stylesheet' type='text/css' href='' . get_bloginfo('template_directory') . '/static/css/login.css' />'.'\n';371: $value['login_footer'] .= '<script type='text/javascript' src=''.get_bloginfo('template_directory').'/static/js/resizeBg.js'></script>'.'\n'373: $value['login_footer'] .= 'jQuery('body').prepend('<div class=\'loading\'><img src=\''.get_bloginfo('template_directory').'/static/images/login_loading.gif\' widt374: $value['login_footer'] .= 'jQuery(\'#bg\').children(\'img\').attr(\'src\', \''.get_bloginfo('template_directory').'/static/images/login_bg.jpg\').load(funget_bloginfo('template_url') was found in the file utils.php. Use get_template_directory_uri() instead.52: else return get_bloginfo('template_url').'/static/images/avatar.jpg';
  5. Deprecated functions : bloginfo bloginfo('url') was found in the file search.php. Use echo esc_url( home_url() ) instead.21: <form method='get' class='search-form inline' action='<?php bloginfo('url'); ?>'>bloginfo('url') was found in the file comments.php. Use echo esc_url( home_url() ) instead.6: <script type='text/javascript' src='<?php bloginfo('url'); ?>/wp-includes/js/comment-reply.min.js'></script>bloginfo('url') was found in the file login.php. Use echo esc_url( home_url() ) instead.36: <form class='cd-form' id='register' action='<?php bloginfo('url'); ?>/wp-login.php?action=register' method='post' novalidate=bloginfo('url') was found in the file header.php. Use echo esc_url( home_url() ) instead.56: <form method='get' class='search-form inline' action='<?php bloginfo('url'); ?>'>bloginfo('url') was found in the file 404.php. Use echo esc_url( home_url() ) instead.10: <form method='get' class='search-form inline' action='<?php bloginfo('url'); ?>'>bloginfo('template_directory') was found in the file footer.php. Use echo esc_url( get_template_directory_uri() ) instead.68: <img class='girl' src='<?php 143: <script type='text/javascript' opacity='<?php echo wpjam_theme_get_setting('nest_opacity') ?>' zIndex='-3' count='<?php echo wpjam_theme_get_setting('nest_count') ?>' src='<?php bloginfo('template_directory'); ?>/static/js/nest.min.js'></script>
  6. Deprecated functions : get_option get_option('home') was found in the file login.php. Use home_url() instead.9: <form id='login' class='cd-form' action='<?php echo get_option('home'); ?>/wp-login.php' method='post' novalidate='novalidate'>24: <a href='<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword'>忘记密码?</aget_option('home') was found in the file index.php. Use home_url() instead.3: wp_safe_redirect( get_option('home') );
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in hooks.php. Themes must not deregister core scripts. 37: wp_deregister_script('jquery');40: wp_deregister_script('jquery-migrate');
  2. special URIs : Presence of bad theme tagsTheme URI and Author URI should not be the same.
  3. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  4. 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 autumn.
  5. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Comments are closed.' in file comments.php.Found a translation function that is missing a text-domain. Function __, with the arguments '注册成功!' in file login.php.Found a translation function that is missing a text-domain. Function __, with the arguments '用户名: %s' in file login.php.Found a translation function that is missing a text-domain. Function __, with the arguments '密码: %s' in file login.php.Found a translation function that is missing a text-domain. Function __, with the arguments '有人要求重设如下帐号的密码:' in file hooks.php.Found a translation function that is missing a text-domain. Function __, with the arguments '用户名:%s' in file hooks.php.Found a translation function that is missing a text-domain. Function __, with the arguments '若这不是您本人要求的,请忽略本邮件,一切如常。' in file hooks.php.Found a translation function that is missing a text-domain. Function __, with the arguments '要重置您的密码,请打开下面的链接:' in file hooks.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 url, >首页</a>!</h1>.
  6. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  7. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  8. Fundamental theme elements : Presence of post_class()Could not find post_class.
  9. 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.
  10. 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.
  11. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  12. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  13. 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.
  14. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  15. CSS files : Presence of license typeLicense: is missing from style.css header.
  16. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  17. CSS files : Presence of text domainText Domain: is missing from your style.css header.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file footer.php.12: <a href='http://www.xintheme.com' target='_blank'>XinTheme</a>&nbsp;+&nbsp;<a href='Possible hard-coded links were found in the file hooks.php.369: $value['login_footer'] .= '<p>Copyright &copy; '.date('Y').' All Rights | Powered by <a href='http://www.xintheme.com' target='_blank'>XinTheme</a>&nbsp;+&nbsp;<a href='
  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 term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  9. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  10. Use of includes : Use of include or requireThe theme appears to use include or require : password.php 3: include(get_template_directory().'/user/action/profile.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 : login.php 2: 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.The theme appears to use include or require : avatar.php 2: 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.The theme appears to use include or require : captcha.php 2: require_once(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.The theme appears to use include or require : index.php 15: include(get_template_directory().'/404.php');58: <?php include($action_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.
Other checked themes