跳到内容

Theme Mentor

v0.2

Mario Peshev · 2013年2月16日 上架

Theme Mentor is a cousin of the Theme-Check plugin getting deeper into the code analysis.

正在使用
10+
评分
5.0 / 5
累计下载
5,839
最近更新
2020年2月12日
2 条评价需要 WordPress 4.9.13+已测试到 5.2.31

贡献者

截图

Sample Theme Mentor validation test results
Sample Theme Mentor validation test results
Theme Mentor

Theme Mentor is a cousin of the Theme-Check plugin getting deeper into the code analysis.

It’s using different approaches to monitor for common problems regarding theme reviews from the WordPress Theme Reviewers Team. It is prone to fault analysis, so use only as a reference for improving your code base even further.

Currently supported validations:

  • Mark all tags in template files
  • Mark all tags in template files
  • Warn about query_posts() usage
  • capital_P_dangit control (disallow any WordPress spelling other than WordPress as is – that is WORDPRESS and WordPress, ugh)
  • wp_deregister_script(‘jquery’) is forbidden
  • wp_dequeue_script(‘jquery’) is forbidden
  • prevent global $data; call as a common troublemaker (props @pippinsplugins)

header.php specific

  • Make sure that wp_head is before
  • Ensure that wp_title(…) is called within and tags

footer.php specific

  • Make sure that wp_footer is before

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums