0
Validation results

Begin

Begin

WordPress 6.5.2 theme
0
  • THEME TYPEWordPress theme 6.5.2
  • FILE NAMEbegin(1.7.5).zip
  • FILE SIZE1450396 bytes
  • MD5f225f46ef270b74ff3bf116b449d073b
  • SHA19f828f9134900511d54db6032c51cf18f63f1f00
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, HTML, Bitmap images
  • VERSION1.7.5
  • AUTHOR URI
  • TAGSbefore {
  • CREATION DATE2019-10-22
  • LAST FILE UPDATE2019-10-22
  • LAST VALIDATION2019-10-22 08:22
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.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="<?php echo get_permalink( zm_get_option('user_profile') ); ?> in file my-data.php. 1: <p><iframe src='<?php echo get_permalink( zm_get_option('user_profile') ); ?>'Found <iframe src="http://zmingcx.com/begin-guide.html" width="100%" height="800" frameborder="0"> in file guide.php. 12: <p><iframe src='http://zmingcx.com/begin-guide.html' width='100%' height='800'
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File guide.php : 4: add_submenu_page('themes.php', '主题指南', '主题指南', 'manage_optiFile back-end.php : 15: add_menu_page( '邀请码', '邀请码', 'manage_options', 'baweic_list_codFile back-end.php : 16: add_submenu_page( 'baweic_list_codes', '添加邀请码', '添加邀请码'17: add_submenu_page( 'baweic_list_codes', '生成邀请码', '生成邀请码'18: add_submenu_page( 'baweic_list_codes', '全部邀请码', '全部邀请码'19: add_submenu_page( 'baweic_list_codes', '邀请码选项', '邀请码选项'File back-end.php : 16: add_submenu_page( 'baweic_list_codes', '添加邀请码', '添加邀请码'17: add_submenu_page( 'baweic_list_codes', '生成邀请码', '生成邀请码'18: add_submenu_page( 'baweic_list_codes', '全部邀请码', '全部邀请码'19: add_submenu_page( 'baweic_list_codes', '邀请码选项', '邀请码选项'File back-end.php : 16: add_submenu_page( 'baweic_list_codes', '添加邀请码', '添加邀请码'17: add_submenu_page( 'baweic_list_codes', '生成邀请码', '生成邀请码'18: add_submenu_page( 'baweic_list_codes', '全部邀请码', '全部邀请码'19: add_submenu_page( 'baweic_list_codes', '邀请码选项', '邀请码选项'File back-end.php : 16: add_submenu_page( 'baweic_list_codes', '添加邀请码', '添加邀请码'17: add_submenu_page( 'baweic_list_codes', '生成邀请码', '生成邀请码'18: add_submenu_page( 'baweic_list_codes', '全部邀请码', '全部邀请码'19: add_submenu_page( 'baweic_list_codes', '邀请码选项', '邀请码选项'File functions.php : 251: add_options_page(__('All Settings'), __('All Settings'), 'administrator', '
  4. Hidden admin bar : Hidden admin Bar Themes should not hide admin bar. Detected in file : functions.php.
  5. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  6. Deprecated functions : get_currentuserinfo get_currentuserinfo found in file comments.php. Deprecated since version 4.5. Use wp_get_current_user instead.70: <?php global $current_user; get_currentuserinfo();get_currentuserinfo found in file template-user.php. Deprecated since version 4.5. Use wp_get_current_user instead.131: <?php global $current_user; get_currentuserinfo();get_currentuserinfo found in file template-user-profile.php. Deprecated since version 4.5. Use wp_get_current_user instead.8: global $userdata; get_currentuserinfo();35: get_currentuserinfo();202: <?php global $current_user; get_currentuserinfo();get_currentuserinfo found in file my-comment.php. Deprecated since version 4.5. Use wp_get_current_user instead.2: <?php global $current_user; get_currentuserinfo();?>get_currentuserinfo found in file user-profile.php. Deprecated since version 4.5. Use wp_get_current_user instead.4: get_currentuserinfo();get_currentuserinfo found in file login.php. Deprecated since version 4.5. Use wp_get_current_user instead.2: <?php get_currentuserinfo();global $current_user, $user_ID, $user_identity; if( !13: <?php global $user_identity,$user_level;get_currentuserinfo();if ($user_identity) { ?>16: <?php global $current_user; get_currentuserinfo();
  7. Deprecated functions : get_bloginfo get_bloginfo('url') was found in the file setting.php. Use home_url() instead.743: add_filter('login_headerurl', create_function(false,'return get_bloginfo('url');'));get_bloginfo("template_url") was found in the file qaptcha.php. Use get_template_directory_uri() instead.4: $url = get_bloginfo('template_url');
  8. Deprecated functions : bloginfo bloginfo('template_directory') was found in the file template-hot.php. Use echo esc_url( get_template_directory_uri() ) instead.43: <script type='text/javascript' src='<?php bloginfo('template_directory'); ?>/js/infinite-scroll.js'></script>bloginfo('template_directory') was found in the file template-cms.php. Use echo esc_url( get_template_directory_uri() ) instead.52: <script type='text/javascript' src='<?php bloginfo('template_directory'); ?>/js/infinite-scroll.js'></script>bloginfo('template_directory') was found in the file template-blog.php. Use echo esc_url( get_template_directory_uri() ) instead.50: <script type='text/javascript' src='<?php bloginfo('template_directory'); ?>/js/infinite-scroll.js'></script>bloginfo('template_directory') was found in the file my-data.php. Use echo esc_url( get_template_directory_uri() ) instead.3: <script type='text/javascript' src='<?php bloginfo('template_directory'); ?>/js/infinite-scroll.js'></script>
  9. Deprecated functions : get_option get_option('home') was found in the file setting.php. Use home_url() instead.544: $WEB_DOMAIN = get_option('home');
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag before { in style.css header.
  2. 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 begin.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments '查看与 %s 相关的文章' in file setting.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<cite class="fn">%s</cite> <span class="says">:</span>' in file comment-template.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '' in file crumb-search.php.Found a translation function that is missing a text-domain. Function _e, with the arguments ' ' in file crumb-search.php.Found a translation function that is missing a text-domain. Function _e, with the arguments ' 找到 ' in file crumb-search.php.Found a translation function that is missing a text-domain. Function _e, with the arguments ' 个与之相关的文章' in file crumb-search.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Title:' in file widgets.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Automatically add paragraphs' in file widgets.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Search results for &#8220;%s&#8221;' in file back-end.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Search by keyword' in file back-end.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Delete' in file back-end.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'All Settings' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'All Settings' 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 wp-postviews, twentyfourteen, simple-local-avatars, textdomain, options-framework, baweic.
  4. 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.
  5. Non-printable characters : Presence of non-printable characters in PHP filesNon-printable characters were found in file widgets.php. This is an indicator of potential errors in PHP code.2: // 最新文章5: $widget_ops = array('description' => '最新文章');6: $this->WP_Widget('new_cat', '主题&nbsp;&nbsp;最新文章', $widget_ops);52: 'title' => '最新文章',57: <label for='<?php echo $this->get_field_id('title'); ?>'>标题:</label>61: <label for='<?php echo $this->get_field_id('numposts'); ?>'>显示篇数:</label> 65: <label for='<?php echo $this->get_field_id('cat'); ?>'>选择分类:66: <?php wp_dropdown_categories(array('name' => $this->get_field_name('cat'), 'show_option_all' => 全部分类, 'hide_empty'=>0, 'hierarchical'=>1, 'selected'=>$instance['ca73: // 分类最新文章76: $widget_ops = array('description' => '可以调用一个分类的最新文章');77: $this->WP_Widget('post_cat', '主题&nbsp;&nbsp;分类文章', $widget_ops);111: 'title' => '分类文章',116: <label for='<?php echo $this->get_field_id('title'); ?>'>标题:</label>120: <label for='<?php echo $this->get_field_id('numposts'); ?>'>显示篇数:</label> 124: <label for='<?php echo $this->get_field_id('cat'); ?>'>选择分类:125: <?php wp_dropdown_categories(array('name' => $this->get_field_name('cat'), 'show_option_all' => 全部分类, 'hide_empty'=>0, 'hierarchical'=>1, 'selected'=>$instance['ca132: // 近期留言135: $widget_ops = array('description' => '带头像的近期留言');136: $this->WP_Widget('recent_comments', '主题&nbsp;&nbsp;近期留言', $widget_ops);191: $title = '近期评论';197: <p><label for='<?php echo $this->get_field_id( 'title' ); ?>'>标题:</label>199: <p><label for='<?php echo $this->get_field_id('number'); ?>'>显示数量:</label>206: // 热门文章209: $widget_ops = array('description' => '调用点击最多的文章,必须安装 wp-postviews 插件,并有统计210: $this->WP_Widget('hot_post', '主题&nbsp;&nbsp;热门文章', $widget_ops);250: $title = '热门文章';258: <p><label for='<?php echo $this->get_field_id( 'title' ); ?>'>标题:</label>260: <p><label for='<?php echo $this->get_field_id('number'); ?>'>显示数量:</label>262: <p><label for='<?php echo $this->get_field_id('days'); ?>'>时间限定(天):</label>269: // 热评文章272: $widget_ops = array('description' => '调用评论最多的文章');273: $this->WP_Widget('hot_comment', '主题&nbsp;&nbsp;热评文章', $widget_ops);296: $output .= '\n<li><span class='li-icon li-icon-$i'>$i</span><a href= \''.get_permalink($post->ID).'\' rel=\'bookmark\' title=\' ('.$post->comment_count.'条评论)\' >'.$post->post_title.'</a></li>';328: $title = '热评文章';336: <p><label for='<?php echo $this->get_field_id( 'title' ); ?>'>标题:</label>338: <p><label for='<?php echo $this->get_field_id('number'); ?>'>显示数量:</label>340: <p><label for='<?php echo $this->get_field_id('days'); ?>'>时间限定(天):</label>347: // 随机文章350: $widget_ops = array('description' => '显示随机文章');351: $this->WP_Widget('random_post', '主题&nbsp;&nbsp;随机文章', $widget_ops);389: $title = '随机文章';395: <p><label for='<?php echo $this->get_field_id( 'title' ); ?>'>标题:</label>397: <p><label for='<?php echo $this->get_field_id('number'); ?>'>显示数量:</label>404: // 标签云407: $widget_ops = array('description' => '可实现3D特效');408: $this->WP_Widget('cx_tag_cloud', '主题&nbsp;&nbsp;热门标签', $widget_ops);446: $title = '热门标签';452: <p><label for='<?php echo $this->get_field_id( 'title' ); ?>'>标题:</label>454: <p><label for='<?php echo $this->get_field_id('number'); ?>'>显示数量:</label>461: // 相关文章464: $widget_ops = array('description' => '显示相关文章');465: $this->WP_Widget('related_post', '主题&nbsp;&nbsp;相关文章', $widget_ops);531: $title = '相关文章';537: <p><label for='<?php echo $this->get_field_id( 'title' ); ?>'>标题:</label>539: <p><label for='<?php echo $this->get_field_id('number'); ?>'>显示数量:</label>546: // 本站推荐549: $widget_ops = array('description' => '调用添加自定义栏目“hot”的文章(有缩略图)');550: $this->WP_Widget('hot_commend', '主题&nbsp;&nbsp;本站推荐', $widget_ops);575: <?php if( function_exists( 'the_views' ) ) { print '<div class='views'>阅读 '; the_views(); print '</div>'; } ?>602: $title = '本站推荐';608: <p><label for='<?php echo $this->get_field_id( 'title' ); ?>'>标题:</label>610: <p><label for='<?php echo $this->get_field_id('number'); ?>'>显示数量:</label>617: // 推荐文章620: $widget_ops = array('description' => '调用添加自定义栏目“posts”的文章(无缩略图)');621: $this->WP_Widget('hot_posts', '主题&nbsp;&nbsp;推荐文章', $widget_ops);666: $title = '推荐文章';672: <p><label for='<?php echo $this->get_field_id( 'title' ); ?>'>标题:</label>674: <p><label for='<?php echo $this->get_field_id('number'); ?>'>显示数量:</label>681: // 大家喜欢684: $widget_ops = array('description' => '调用点击喜欢最多的文章');685: $this->WP_Widget('like_most', '主题&nbsp;&nbsp;大家喜欢', $widget_ops);725: $title = '大家喜欢';733: <p><label for='<?php echo $this->get_field_id( 'title' ); ?>'>标题:</label>735: <p><label for='<?php echo $this->get_field_id('number'); ?>'>显示数量:</label>737: <p><label for='<?php echo $this->get_field_id('days'); ?>'>时间限定(天):</label>744: // 读者墙747: $widget_ops = array('description' => '最活跃的读者');748: $this->WP_Widget('readers', '主题&nbsp;&nbsp;读者墙', $widget_ops);787: $mostactive .= '<div class='readers-avatar'><li>' . '<a href=''. $c_url . '' title='' . $count->comment_author .' '. $count->cnt . ' 个脚印' target='_blank' rel='external nofollow'>' . get_avatar($count->c814: $title = '读者墙';822: <p><label for='<?php echo $this->get_field_id( 'title' ); ?>'>标题:</label>824: <p><label for='<?php echo $this->get_field_id('number'); ?>'>显示数量:</label>826: <p><label for='<?php echo $this->get_field_id('days'); ?>'>时间限定(天):</label>833: // 关注我们836: $widget_ops = array('description' => 'RSS、微信、微博');837: $this->WP_Widget('feed', '主题&nbsp;&nbsp;关注我们', $widget_ops);849: <li class='weixin'><a title='微信' href='#weixin-img' id='weixin-t' ><i class='fa fa-weixin'></i></a><850: <li class='feed'><a title='订阅' href='<?php echo zm_get_option('feed_url'); ?>' target='_blank'><i 851: <li class='tsina'><a title='新浪微博' href='<?php echo zm_get_option('tsina_url'); ?>' target='_bla852: <li class='tqq'><a title='腾讯微博' href='<?php echo zm_get_option('tqq_url'); ?>' target='_blank876: $title = '关注我们';880: <p><label for='<?php echo $this->get_field_id( 'title' ); ?>'>标题:</label>887: // 广告位890: $widget_ops = array('description' => '用于侧边添加广告代码');891: $this->WP_Widget('advert', '主题&nbsp;&nbsp;广告位', $widget_ops);931: $title = '广告位';938: <p><label for='<?php echo $this->get_field_id( 'text' ); ?>'>内容:</label>949: // 分类IDNon-printable characters were found in file taxonomy-notice.php. This is an indicator of potential errors in PHP code.26: <span class='date'><?php the_time( 'Y年m月d日' ) ?> </span>28: <span class='comment'><a href='#comments'>密码保护</a></span>30: <span class='comment'><?php comments_popup_link( '发表评论', '评论 1 ', '评论 % ' ); ?></span>32: <?php if( function_exists( 'the_views' ) ) { print '<span class='views'> 阅读 '; the_views(); print '</span>'; } ?>38: <span class='entry-more'><a href='<?php the_permalink(); ?>' rel='bookmark'>阅读全文</a></span>55: 'prev_text' =>上页,56: 'next_text' =>下页,57: 'before_page_number' => '<span class='meta-nav screen-reader-text'>第 </span>',58: 'after_page_number' => '<span class='meta-nav screen-reader-text'> 页</span>',
  6. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file optionsframework.css.Found a mix of \r\n and \n line endings in file timthumb_ext_9dc73830df6212ee3874a1efabbce343.timthumb.txt.Found a mix of \r\n and \n line endings in file timthumb_ext_3a0fe907b1ac06531f09ba28f4ac3027.timthumb.txt.Found a mix of \r\n and \n line endings in file timthumb_ext_9f620af4b909464475ab4d7a5732cc04.timthumb.txt.Found a mix of \r\n and \n line endings in file timthumb_ext_3534b3241b308a92356e0e14d86e5879.timthumb.txt.
  7. Admin menu : Detection of user levels deprecated in WordPress 2.0. See Wordpress codex.File template-tougao.php : 130: <?php if ( current_user_can('level_0') ){ ?>
  8. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  9. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  10. CSS files : Presence of license typeLicense: is missing from style.css header.
  11. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  12. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  13. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  14. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  15. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  16. Date and time implementation : Use of the_time()At least one hard coded date was found in the file seo.php. Function get_option( 'date_format' ) should be used instead.
  17. 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 category template file category.phpThis theme does not contain optional file category.php.
  5. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  6. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  8. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  9. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.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 : template-user-profile.php 12: require_once(ABSPATH . 'wp-admin/includes/user.php');13: 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-ajax.php 16: require( dirname(__FILE__) . '/../../../../../wp-load.php' ); // 此 commen 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 : setting.php 971: include_once( ABSPATH . '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 : inc.php 5: require_once(dirname(preg_replace('@\(.*\(.*$@', '', __FILE__)) . '/custom- 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 : local-avatars.php 139: 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 : back-end.php 4: include( 'fields.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