Display WooCommerce products by customer's user role.
Prioritized issue groups from the latest Plugin Check scan
Security
36
6 issue groups
I18n
23
3 issue groups
Maintainability
13
8 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
Detected usage of a non-sanitized input variable: $_GET['_wpnonce']
Sample message
$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar
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
Processing form data without nonce verification.
Sample message
Mismatched text domain. Expected 'product-visibility-by-user-role-for-woocommerce' but got 'woocommerce'.
Sample message
Detected usage of meta_query, possible slow query.
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
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
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
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
Resource version not set in call to wp_register_style(). This means new versions of the style may not always be loaded due to browser caching.
Sample message
The $text parameter must be a single text string literal. Found: $title
Sample message
Setting `suppress_filters` to `true` is prohibited.
Potential connections found in static code analysis.
Outbound calls
16
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
2 score snapshots
v1.8.5
42
Latest
v1.8.4
45
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 42 | 73 | 35 | 38 | v1.8.5 | 2.1.0 |
| 45 | 71 | 36 | 35 | v1.8.4 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.