Automatically displays a shopping cart in your menu bar. Works with WooCommerce and Easy Digital Downloads (EDD)
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
87
2 issue groups
Maintainability
21
8 issue groups
Security
1
1 issue group
ERRORI18nText Domain MismatchMismatched text domain. Expected 'woocommerce-menu-bar-cart' but got 'wp-menu-cart'.86
- Category
- I18n
- Occurrences
- 86
- Severity
- error
Sample message
Mismatched text domain. Expected 'woocommerce-menu-bar-cart' but got 'wp-menu-cart'.
WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins".8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins".
ERRORMaintainabilitywp function not compatible with requires wpFunction "apply_filters_deprecated()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.4.0.5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
Function "apply_filters_deprecated()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.4.0.
ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP Menu Cart" - contains the restricted term "wp" which cannot be used at all in your plugin name.2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP Menu Cart" - contains the restricted term "wp" which cannot be used at all in your plugin name.
WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WOOCOMMERCE_CART".1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WOOCOMMERCE_CART".
WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "WPO_Menu_Cart".1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "WPO_Menu_Cart".
WARNINGMaintainabilityVariable Constant Name FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "$name".1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "$name".
WARNINGSecuritywp redirect wp redirectwp_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.1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
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.
WARNINGMaintainabilitymismatched plugin namePlugin name "Menu Cart for WooCommerce" is different from the name declared in plugin header "WP Menu Cart".1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "Menu Cart for WooCommerce" is different from the name declared in plugin header "WP Menu Cart".
Show 1 moreShow less
WARNINGI18ntextdomain mismatch1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
Sample message
The "Text Domain" header in the plugin file does not match the slug. Found "wp-menu-cart", expected "woocommerce-menu-bar-cart".
Score History
First score snapshot
v2.14.12
92
Latest
- Findings
- 109
- Errors
- 93
- Warnings
- 16
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 92 | 109 | 93 | 16 | v2.14.12 | 2.0.0 |