Sell your products with personalised options. Add custom fields to your products, variations, checkout, order and your admin screens.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
353
10 issue groups
Maintainability
161
10 issue groups
I18n
28
5 issue groups
WARNINGSecurityRecommendedProcessing form data without nonce verification.128
- Category
- Security
- Occurrences
- 128
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_color_config'.72
- Category
- Security
- Occurrences
- 72
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_color_config'.
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_roles".57
- Category
- Maintainability
- Occurrences
- 57
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_roles".
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_FILES[$fkey]50
- Category
- Security
- Occurrences
- 50
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_FILES[$fkey]
WARNINGSecurityMissing Unslash$_GET["action"] not unslashed before sanitization. Use wp_unslash() or similar49
- Category
- Security
- Occurrences
- 49
- Severity
- warning
Sample message
$_GET["action"] not unslashed before sanitization. Use wp_unslash() or similar
ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.26
- Category
- Security
- Occurrences
- 26
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
ERRORMaintainabilitywp function not compatible with requires wpFunction "current_action()" requires WordPress 3.9.0, but your plugin minimum supported version is WordPress 3.5.0.26
- Category
- Maintainability
- Occurrences
- 26
- Severity
- error
Sample message
Function "current_action()" requires WordPress 3.9.0, but your plugin minimum supported version is WordPress 3.5.0.
WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "before_render_admin_common_meta".23
- Category
- Maintainability
- Occurrences
- 23
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "before_render_admin_common_meta".
WARNINGMaintainabilityMissing VersionResource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.15
- Category
- Maintainability
- Occurrences
- 15
- Severity
- warning
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
ERRORSecurityNot PreparedUse placeholders and $wpdb->prepare(); found $offset10
- Category
- Security
- Occurrences
- 10
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $offset
Show 15 moreShow less
ERRORI18nMissing Arg Domain10
- Category
- I18n
- Occurrences
- 10
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORMaintainabilitymissing direct file access protection10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilityNot In Footer9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
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.
WARNINGMaintainabilityDirect Query8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
ERRORSecurityQuoted Simple Placeholder7
- Category
- Security
- Occurrences
- 7
- Severity
- error
Sample message
Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%s'.
WARNINGMaintainabilityNo Caching6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORI18nText Domain Mismatch6
- Category
- I18n
- Occurrences
- 6
- Severity
- error
Sample message
Mismatched text domain. Expected 'wc-fields-factory' but got 'woocommerce'.
ERRORSecurityUnescaped DBParameter4
- Category
- Security
- Occurrences
- 4
- Severity
- error
Sample message
Unescaped parameter $offset used in $wpdb->get_results()\n$offset assigned unsafely at line 787.
ERRORMaintainabilitydate date4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
WARNINGSecurityMissing4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORI18nMissing Translators Comment4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
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.
ERRORI18nNo Empty Strings4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
The $text text string should have translatable content. Found: ''
ERRORI18nNon Singular String Literal Text4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $field["label"]
WARNINGSecurityInput Not Validated3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_REQUEST["product_tab_config_priority"]. Check that the array index exists before using it.
WARNINGMaintainabilitytrademarked term3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WC Fields Factory" - contains the restricted term "wc" which cannot be used at all in your plugin name.
Score History
First score snapshot
v4.1.9
28
Latest
- Findings
- 563
- Errors
- 194
- Warnings
- 369
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 28 | 563 | 194 | 369 | v4.1.9 | 2.0.0 |