A Simple Plugin to change WooCommerce SKU Label to ISBN or any other custom text. No need to touch any code or core WooCommerce functions.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
10
5 issue groups
Security
6
3 issue groups
I18n
2
2 issue groups
Repo Compliance
1
1 issue group
WARNINGSecurityRequest data is not unslashed$_COOKIE["wcsku-hide-notice"] not unslashed before sanitization. Use wp_unslash() or similar3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
$_COOKIE["wcsku-hide-notice"] not unslashed before sanitization. Use wp_unslash() or similar
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORMaintainabilitywp function not compatible with requires wpFunction "get_current_screen()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.2.3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
Function "get_current_screen()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.2.
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['skuoptions']. Check that the array index exists before using it.2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['skuoptions']. Check that the array index exists before using it.
WARNINGMaintainabilityMissing VersionResource 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.2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
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.
WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "appsero_init_tracker_woo_sku_label_changer".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: "appsero_init_tracker_woo_sku_label_changer".
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE["wcsku-hide-notice"]1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE["wcsku-hide-notice"]
ERRORI18nText Domain MismatchMismatched text domain. Expected 'woo-sku-label-changer' but got 'wcsku-label'.1
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
Mismatched text domain. Expected 'woo-sku-label-changer' but got 'wcsku-label'.
ERRORRepo Complianceoutdated tested upto headerTested up to: 6.8 < 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.1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Tested up to: 6.8 < 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.
WARNINGI18ntextdomain mismatchThe "Text Domain" header in the plugin file does not match the slug. Found "wcsku-label", expected "woo-sku-label-changer".1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
Sample message
The "Text Domain" header in the plugin file does not match the slug. Found "wcsku-label", expected "woo-sku-label-changer".
Show 1 moreShow less
WARNINGMaintainabilitytrademarked term1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
The plugin slug includes a restricted term. Your plugin slug - "woo-sku-label-changer" - contains the restricted term "woo" and cannot be used to begin your plugin slug. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "woo" elsewhere in your plugin slug, such as "... for woo".
External Connections
Potential connections found in static code analysis.
Outbound calls
33
External assets
0
Incoming endpoints
2
Notable Domains
Platform / Reference Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
No public endpoints detected.
Admin AJAX endpoints2
wp_ajax
wp_ajax
Score History
First score snapshot
v3.0.6
83
Latest
- Findings
- 19
- Errors
- 8
- Warnings
- 11
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 83 | 19 | 8 | 11 | v3.0.6 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.