WP OpenAPI is a WordPress plugin to provide the OpenAPI spec and a beautifu viewer for your WordPress REST API.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
25
7 issue groups
Security
21
5 issue groups
Repo Compliance
2
2 issue groups
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$checked'.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "Filters::PREFIX . 'filter-schema-endpoint-permission'".
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$in is not a valid value. It must be one of "'.
Sample message
Processing form data without nonce verification.
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP OpenAPI" - contains the restricted term "wp" which cannot be used at all in your plugin name.
Sample message
$_GET['namespace'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
Sample message
Function "str_contains()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.8.0.
Sample message
Sanitization missing for register_setting().
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wp-openapi-filters-elements-props".
Sample message
Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.
Sample message
Tested up to: 6.8 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.
Potential connections found in static code analysis.
Outbound calls
9
External assets
0
Incoming endpoints
1
No external asset domains detected.
register_rest_route
First score snapshot
v1.0.29
45
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 45 | 48 | 26 | 22 | v1.0.29 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.