Display WooCommerce products by customer's user role.
Prioritized issue groups from the latest Plugin Check scan
Security
33
5 issue groups
I18n
23
3 issue groups
Maintainability
13
9 issue groups
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 '$all_roles_options'.
Sample message
Processing form data without nonce verification.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'woocommerce_get_settings_' . $this->id . '_' . $current_section".
Sample message
Detected usage of a non-sanitized input variable: $_GET['subsection']
Sample message
$_GET['subsection'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Processing form data without nonce verification.
Sample message
Mismatched text domain. Expected 'product-visibility-by-user-role-for-woocommerce' but got 'woocommerce'.
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
Detected usage of meta_query, possible slow query.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WPWham_PVUR_Third_Party_Compatibility".
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WPWHAM_PRODUCT_VISIBILITY_BY_USER_ROLE_VERSION".
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "wpw_pvbur_clear_cache".
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
The parameter "$args" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
Sample message
The $text parameter must be a single text string literal. Found: $title
Sample message
Setting `suppress_filters` to `true` is prohibited.
Sample message
Tested up to: 6.9 < 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.
Not analyzed yet.
First score snapshot
v1.8.4
45
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 45 | 71 | 36 | 35 | v1.8.4 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.