Display a parent and child categories in a dropdown. Works with custom taxonomies and WooCommerce product categories.
Prioritized issue groups from the latest Plugin Check scan
Security
94
5 issue groups
I18n
26
2 issue groups
Maintainability
18
8 issue groups
Performance
5
1 issue group
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$args['after_title']'.
Sample message
The $domain parameter must be a single text string literal. Found: GCSCD_TXT_DOMAIN
Sample message
Processing form data without nonce verification.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
$_GET['child_cat_default_text'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Processing form data without nonce verification.
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
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "category_widget_scripts".
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
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
Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Category_Dropdown_Widget".
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "GCSCD_TXT_DOMAIN".
Sample message
Mismatched text domain. Expected 'wp-category-dropdown' but got 'cdash'.
Sample message
Hidden files are not permitted.
Sample message
Tested up to: 6.6 < 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.
Sample message
The plugin slug includes a restricted term. Your plugin slug - "wp-category-dropdown" - contains the restricted term "wp" which cannot be used at all in your plugin slug.
Potential connections found in static code analysis.
Outbound calls
5
External assets
0
Incoming endpoints
8
No external asset domains detected.
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
First score snapshot
v1.9
35
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 35 | 145 | 93 | 52 | v1.9 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.