The WooCommerce Legacy REST API, which is now part of WooCommerce itself but will be removed in WooCommerce 9.0.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
179
12 issue groups
Security
168
10 issue groups
I18n
150
1 issue group
Performance
1
1 issue group
Sample message
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$param_name'.
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_API".
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of meta_query, possible slow query.
Sample message
Detected usage of a non-sanitized input variable: $_GET['_jsonp']
Sample message
$_GET['_jsonp'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
The parameter "'orderby=name&hide_empty=0'" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'.
Sample message
Processing form data without nonce verification.
Sample message
Use placeholders and $wpdb->prepare(); found $order_by
Sample message
Detected usage of meta_key, possible slow query.
Sample message
Detected usage of tax_query, possible slow query.
Sample message
Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%s'.
Sample message
Interfaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_API_Handler".
Sample message
Detected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_METHOD']. Check that the array index exists before using it.
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WooCommerce Legacy REST API" - contains the restricted term "woocommerce" which cannot be used within in your plugin name, unless your plugin name contains one of the allowed patterns: "for woocommerce", "with woocommerce", "using woocommerce", or "and woocommerce". The term must still not appear anywhere else in your name.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "the_content".
Sample message
Unescaped parameter $order_by used in $wpdb->get_results()
Sample message
Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.
Sample message
Tested up to: 9.5. The "Tested up to" value in your plugin is not valid. This version of WordPress does not exist (yet).
Not analyzed yet.
First score snapshot
v1.0.5
31
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 31 | 501 | 324 | 177 | v1.0.5 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.