Set User Role specific Prices to WooCommerce Products in your Store.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
203
16 issue groups
I18n
180
4 issue groups
Security
22
5 issue groups
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$adjustment_price_id".
Sample message
Mismatched text domain. Expected 'elex-woocommerce-role-based-pricing-plugin-basic' but got 'eh-woocommerce-pricing-discount'.
Sample message
The $text parameter must be a single text string literal. Found: $error
Sample message
Function "doing_filter()" requires WordPress 3.9.0, but your plugin minimum supported version is WordPress 3.0.1.
Sample message
Missing $domain parameter in function call to esc_html_e().
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins".
Sample message
$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wc_help_tip'.
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: "wc_format_sale_price".
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "ELEX WooCommerce Role Based Pricing (BASIC)" - 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
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
Complex placeholders used for values in the query string in $wpdb->prepare() will NOT be quoted automagically. Found: %1s.
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
File and folder names must not contain spaces or special characters.
Sample message
No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
Sample message
Unescaped parameter stripslashes( $wpdb->prepare( '%1s', $max_amount_query ) ) : $wpdb->prepare( '%s', '' ) ) used in $wpdb->get_results()
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WF_NOTICE_OPTION".
Sample message
The parameter "array(\n\t\t\t\t\t'fields' => 'id=>name',\n\t\t\t\t\t'hide_empty' => false,\n\t\t\t\t\t'orderby' => 'title',\n\t\t\t\t\t'order' => 'ASC',\n\t\t\t\t)" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
Sample message
wp_reset_query() is discouraged. Use wp_reset_postdata() 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
Translatable string should not be wrapped in HTML. Found: '<li><strong><font color="red">Go Premium!</font></strong></li>'
Sample message
Plugin name "ELEX WooCommerce Role Based Pricing" is different from the name declared in plugin header "ELEX WooCommerce Role Based Pricing (BASIC)".
Not analyzed yet.
First score snapshot
v1.5.8
44
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 44 | 409 | 213 | 196 | v1.5.8 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.