Kadence Memberships is a powerful WordPress membership plugin that gives you full control over who can and cannot view content on your WordPress site.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
2,907
12 issue groups
I18n
2,901
3 issue groups
Maintainability
2,047
10 issue groups
ERRORI18nText Domain MismatchMismatched text domain. Expected 'restrict-content' but got "rcp".2,587
- Category
- I18n
- Occurrences
- 2,587
- Severity
- error
Sample message
Mismatched text domain. Expected 'restrict-content' but got "rcp".
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.1,018
- Category
- Security
- Occurrences
- 1,018
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$access'.724
- Category
- Security
- Occurrences
- 724
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$access'.
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'get_template_part_' . $slug".673
- Category
- Maintainability
- Occurrences
- 673
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'get_template_part_' . $slug".
WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_rcp_sanitize_duration_unit".580
- Category
- Maintainability
- Occurrences
- 580
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_rcp_sanitize_duration_unit".
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$access".321
- Category
- Maintainability
- Occurrences
- 321
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$access".
ERRORI18nMissing Translators CommentA 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.262
- Category
- I18n
- Occurrences
- 262
- 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.
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.251
- Category
- Security
- Occurrences
- 251
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityRequest data is not unslashed$_COOKIE[$rp_cookie] not unslashed before sanitization. Use wp_unslash() or similar243
- Category
- Security
- Occurrences
- 243
- Severity
- warning
Sample message
$_COOKIE[$rp_cookie] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE[$rp_cookie]208
- Category
- Security
- Occurrences
- 208
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[$rp_cookie]
Show 15 moreShow less
WARNINGSecurityInput is not validated135
- Category
- Security
- Occurrences
- 135
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES['import_file']['name']. Check that the array index exists before using it.
WARNINGSecurityMissing nonce verification110
- Category
- Security
- Occurrences
- 110
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORMaintainabilityMissing direct file access protection107
- Category
- Maintainability
- Occurrences
- 107
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORMaintainabilitydate date99
- Category
- Maintainability
- Occurrences
- 99
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
WARNINGMaintainabilityDirect Query75
- Category
- Maintainability
- Occurrences
- 75
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo Caching74
- Category
- Maintainability
- Occurrences
- 74
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecurityException output is not escaped71
- Category
- Security
- Occurrences
- 71
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Cannot save property `{$key}` containing an API resource of type "'.
WARNINGMaintainabilityNon-prefixed namespace53
- Category
- Maintainability
- Occurrences
- 53
- Severity
- warning
Sample message
Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "RCP".
ERRORI18nUnordered Placeholders Text52
- Category
- I18n
- Occurrences
- 52
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in '%d / %d'.
ERRORSecuritySQL query is not prepared51
- Category
- Security
- Occurrences
- 51
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $compare_string
WARNINGSecurityInterpolated SQL is not prepared44
- Category
- Security
- Occurrences
- 44
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $rcp_discounts_db_name at "UPDATE $rcp_discounts_db_name SET code = LOWER(code)"
WARNINGMaintainabilityNon-prefixed class37
- Category
- Maintainability
- Occurrences
- 37
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "RCP_Add_On_Updater".
ERRORSecurityDatabase parameter is not escaped29
- Category
- Security
- Occurrences
- 29
- Severity
- error
Sample message
Unescaped parameter $fields used in $wpdb->get_results()\n$fields assigned unsafely at line 583.
WARNINGMaintainabilityerror log var export28
- Category
- Maintainability
- Occurrences
- 28
- Severity
- warning
Sample message
var_export() found. Debug code should not normally be used in production.
WARNINGSecurityDatabase parameter is not escaped23
- Category
- Security
- Occurrences
- 23
- Severity
- warning
Sample message
Unescaped parameter $customer_table used in $wpdb->get_var()\n$customer_table assigned unsafely at line 702.
Score History
First score snapshot
v4.0.1
19
Latest
- Findings
- 8,064
- Errors
- 5,082
- Warnings
- 2,982
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 19 | 8,064 | 5,082 | 2,982 | v4.0.1 | 2.0.0 |