Ajax add to cart for WooCommerce products
Prioritized issue groups from the latest Plugin Check scan
Maintainability
42
11 issue groups
I18n
38
4 issue groups
Security
16
4 issue groups
Performance
2
1 issue group
Sample message
Mismatched text domain. Expected 'woo-ajax-add-to-cart' but got 'jetpack-assets'.
Sample message
Function "determine_locale()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.7.0.
Sample message
Processing form data without nonce verification.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Missing $domain parameter in function call to _x().
Sample message
A function call to esc_html__() 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
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$has_block_tags".
Sample message
The use of function ini_set() is discouraged
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
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "install_plugins_nonmenu_tabs".
Sample message
Detected usage of a non-sanitized input variable: $_REQUEST[$request_key]
Sample message
$_REQUEST[$request_key] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
Sample message
Using exclusionary parameters, like exclude, 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
Linking directly to 5 stars reviews is not allowed.
Sample message
load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Version number \"$version\" is not in a recognized format."'.
Sample message
The "/vendor" directory using composer exists, but "composer.json" file is missing.
Sample message
The plugin slug includes a restricted term. Your plugin slug - "woo-ajax-add-to-cart" - contains the restricted term "woo" and cannot be used to begin your plugin slug. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "woo" elsewhere in your plugin slug, such as "... for woo".
Potential connections found in static code analysis.
Outbound calls
58
External assets
0
Incoming endpoints
1
No external asset domains detected.
No public endpoints detected.
wp_ajax
2 score snapshots
v2.6.5
66
Latest
v2.6.4
66
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 66 | 98 | 67 | 31 | v2.6.5 | 2.0.0 |
| 66 | 98 | 67 | 31 | v2.6.4 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.