You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/checks.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,14 @@
6
6
| --- | --- | --- | --- |
7
7
| i18n_usage | general, plugin_repo | Checks for various internationalization best practices. |[Learn more](https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/)|
8
8
| code_obfuscation | plugin_repo | Detects the usage of code obfuscation tools. |[Learn more](https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/)|
9
+
| direct_file_access | security, plugin_repo | Checks that plugin files include proper security validation using the ABSPATH constant to prevent direct file access. |[Learn more](https://developer.wordpress.org/plugins/plugin-basics/best-practices/#file-security)|
9
10
| file_type | plugin_repo | Detects the usage of hidden and compressed files, VCS directories, application files, badly named files, AI development directories (.cursor, .claude, .aider, .continue, .windsurf, .ai, .github), and unexpected markdown files in plugin root. |[Learn more](https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/)|
10
-
| plugin_header_fields | plugin_repo | Checks adherence to the Headers requirements. |[Learn more](https://developer.wordpress.org/plugins/plugin-basics/header-requirements/)|
11
+
| plugin_header_fields | plugin_repo | Checks adherence to the Headers requirements, including validation of "Tested up to" header matching between plugin file and readme.txt. |[Learn more](https://developer.wordpress.org/plugins/plugin-basics/header-requirements/)|
11
12
| late_escaping | security, plugin_repo | Checks that all output is escaped before being sent to the browser. |[Learn more](https://developer.wordpress.org/apis/security/escaping/)|
12
13
| safe_redirect | security, plugin_repo | Checks that redirects use wp_safe_redirect() instead of wp_redirect() for security. |[Learn more](https://developer.wordpress.org/reference/functions/wp_safe_redirect/)|
13
14
| nonce_verification | security, plugin_repo | Checks for proper usage of <code>wp_verify_nonce()</code> to prevent CSRF vulnerabilities. |[Learn more](https://developer.wordpress.org/apis/security/nonces/)|
14
15
| plugin_updater | plugin_repo | Prevents altering WordPress update routines or using custom updaters, which are not allowed on WordPress.org. |[Learn more](https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/)|
15
-
| plugin_review_phpcs | plugin_repo | Runs PHP_CodeSniffer to detect certain best practices plugins should follow for submission on WordPress.org. |[Learn more](https://developer.wordpress.org/plugins/plugin-basics/best-practices/)|
16
+
| plugin_review_phpcs | plugin_repo | Runs PHP_CodeSniffer to detect certain best practices plugins should follow for submission on WordPress.org, including heredoc usage detection. |[Learn more](https://developer.wordpress.org/plugins/plugin-basics/best-practices/)|
16
17
| direct_db_queries | security, plugin_repo | Checks the usage of direct database queries, which should be avoided. |[Learn more](https://developer.wordpress.org/apis/database/)|
17
18
| direct_db | security, plugin_repo | Checks the escaping in direct database queries. |[Learn more](https://developer.wordpress.org/apis/database/)|
18
19
| performant_wp_query_params | performance | Checks for potentially slow database queries when using <code>WP_Query</code> |[Learn more](https://developer.wordpress.org/apis/database/)|
Copy file name to clipboardExpand all lines: plugin.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
* Description: Plugin Check is a WordPress.org tool which provides checks to help plugins meet the directory requirements and follow various best practices.
6
6
* Requires at least: 6.3
7
7
* Requires PHP: 7.4
8
-
* Version: 1.7.0
8
+
* Version: 1.8.0
9
9
* Author: WordPress Performance Team and Plugin Review Team
Tags: plugin best practices, testing, accessibility, performance, security
@@ -28,6 +28,19 @@ Keep in mind that this plugin is not a replacement for the manual review process
28
28
29
29
Even if you do not intend to host your plugin in the WordPress.org directory, you are encouraged to use Plugin Check so that your plugin follows the base requirements and best practices for WordPress plugins.
30
30
31
+
**Plugin Namer Tool**
32
+
33
+
Plugin Check now includes an AI-powered Plugin Namer tool (accessible via _Tools > Plugin Check Namer_) that helps plugin authors evaluate plugin names before submission. This tool checks for:
34
+
35
+
* Similarity to existing plugins in the WordPress.org directory
36
+
* Potential trademark conflicts with well-known brands
37
+
* Compliance with WordPress plugin naming guidelines
38
+
* Generic or overly broad naming issues
39
+
40
+
The Plugin Namer provides instant feedback with actionable suggestions, helping you choose a clear, unique, and policy-compliant name that stands out in the plugin directory. This feature requires AI provider configuration in the settings.
41
+
42
+
**Important:** The Plugin Namer tool provides guidance only and is not definitive. All plugin name decisions are subject to final review and approval by the WordPress.org Plugins team reviewers.
43
+
31
44
== Installation ==
32
45
33
46
= Installation from within WordPress =
@@ -68,6 +81,19 @@ In any case, passing the checks in this tool likely helps to achieve a smooth pl
68
81
69
82
== Changelog ==
70
83
84
+
= 1.8.0 =
85
+
86
+
* Enhancement - Add AI-powered Plugin Namer tool to evaluate plugin names for trademark conflicts and naming best practices.
87
+
* Enhancement - Add AI Instructions Detection Check to identify AI tool configuration files and development-only directories.
88
+
* Enhancement - Add support for exporting check results in CSV, JSON, and Markdown formats.
89
+
* Enhancement - Add check type filter to allow filtering results by errors and warnings.
90
+
* Enhancement - Add Direct File Access check to ensure proper security validation with ABSPATH constant.
91
+
* Enhancement - Add check for mismatched "Tested up to" header between plugin header and readme.txt.
92
+
* Enhancement - Update trademark check to remove acronym exceptions and improve flexibility.
93
+
* Enhancement - Add heredoc sniff to detect and restrict heredoc usage (nowdoc allowed).
94
+
* Fix - Update Playground integration blueprint for compatibility.
95
+
* Fix - Force correct plugin slug detection in WP-CLI command.
96
+
71
97
= 1.7.0 =
72
98
73
99
* Enhancement - Add Minified File Detection Check to identify and handle minified files in plugins.
0 commit comments