Patreon WordPress

Connect your WordPress site to Patreon and increase your members and pledges!

v1.9.17patreonUpdated Added 3k+ installs70% rating
31
Score
276
Errors
339
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability36

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

615 findings

Security

431

10 issue groups

Maintainability

150

12 issue groups

I18n

18

3 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$advanced_post_options_toggle_status'.183
Category
Security
Occurrences
183
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$advanced_post_options_toggle_status'.

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "ptrn/admin_bypass_filter_message".69
Category
Maintainability
Occurrences
69
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "ptrn/admin_bypass_filter_message".

WARNINGSecurityRecommendedProcessing form data without nonce verification.46
Category
Security
Occurrences
46
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['patreon-level']42
Category
Security
Occurrences
42
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['patreon-level']

WARNINGSecurityMissing Unslash$_POST['patreon-level'] not unslashed before sanitization. Use wp_unslash() or similar42
Category
Security
Occurrences
42
Severity
warning

Sample message

$_POST['patreon-level'] not unslashed before sanitization. Use wp_unslash() or similar

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.34
Category
Security
Occurrences
34
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.

ERRORSecurityregister setting MissingSanitization missing for register_setting().30
Category
Security
Occurrences
30
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilityupgrade notice limitThe upgrade notice for "1.4.1" exceeds the limit of 300 characters.30
Category
Maintainability
Occurrences
30
Severity
warning

Sample message

The upgrade notice for "1.4.1" exceeds the limit of 300 characters.

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_REQUEST['delete_posts_option_value']. Check that the array index exists before using it.28
Category
Security
Occurrences
28
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_REQUEST['delete_posts_option_value']. Check that the array index exists before using it.

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.11
Category
Security
Occurrences
11
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

Show 15 more
ERRORSecurityNot Prepared10
Category
Security
Occurrences
10
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $images

WARNINGMaintainabilityDirect Query9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

ERRORI18nText Domain Mismatch8
Category
I18n
Occurrences
8
Severity
error

Sample message

Mismatched text domain. Expected 'patreon-connect' but got '1'.

WARNINGMaintainabilityNon Prefixed Constant Found7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DONOTCACHCEOBJECT".

ERRORI18nMissing Arg Domain6
Category
I18n
Occurrences
6
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORSecurityUnescaped DBParameter5
Category
Security
Occurrences
5
Severity
error

Sample message

Unescaped parameter $images[$key]['name'] used in $wpdb->get_results()\n$images[$key]['name'] used without escaping.

WARNINGMaintainabilityNon Prefixed Variable Found5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$load_api_version".

ERRORMaintainabilitystrip tags strip tags5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORMaintainabilitybadly named files5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

File and folder names must not contain spaces or special characters.

WARNINGMaintainabilityerror log debug backtrace4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

debug_backtrace() found. Debug code should not normally be used in production.

ERRORI18nNon Singular String Literal Text4
Category
I18n
Occurrences
4
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $label

ERRORMaintainabilitywp function not compatible with requires wp3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Function "wp_add_privacy_policy_content()" requires WordPress 4.9.6, but your plugin minimum supported version is WordPress 4.0.0.

WARNINGMaintainabilityMixed2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

File has mixed line endings; this may cause incorrect results

WARNINGMaintainabilityABSPATHDetected2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Writing files using ABSPATH may be problematic. Consider using wp_upload_dir() instead if storing user data or generated files.

Score History

First score snapshot

v1.9.17

31

Latest

Findings
615
Errors
276
Warnings
339
Check
2.0.0

Related Plugins