Donations via PayPal

Easy, simple setup to add a PayPal Donation button as a Widget or with a shortcode.

v1.9.11mra13 / Team Tips and Tricks HQUpdated Added 20k+ installs94% rating
40
Score
143
Errors
17
Warnings
+0
Change

Category Scores

Security0
Repo97
Performance100
Maintainability77

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

160 findings

Security

88

4 issue groups

I18n

49

3 issue groups

Maintainability

22

7 issue groups

Repo Compliance

1

1 issue group

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"'><input style='padding: 10px 0 10px 0;' type='radio' name='{$optionKey}[button]' value='"'.79
Category
Security
Occurrences
79
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"'><input style='padding: 10px 0 10px 0;' type='radio' name='{$optionKey}[button]' value='"'.

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: PayPalDonations::TEXT_DOMAIN44
Category
I18n
Occurrences
44
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: PayPalDonations::TEXT_DOMAIN

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$button_localized&quot;.7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$button_localized&quot;.

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

Sample message

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

ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

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.4
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.

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;pp_donations_ipn_listener&quot;.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;pp_donations_ipn_listener&quot;.

ERRORMaintainabilitystrip tags strip tagsstrip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;pd_button_localized_value&quot;.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;pd_button_localized_value&quot;.

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

Sample message

Processing form data without nonce verification.

Show 5 more
WARNINGI18nload plugin textdomain Found1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

ERRORMaintainabilityOffloaded Content1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.

ERRORSecurityregister setting Missing1
Category
Security
Occurrences
1
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin slug includes a restricted term. Your plugin slug - "paypal-donations" - contains the restricted term "paypal" 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 "paypal" elsewhere in your plugin slug, such as "... for paypal".

Score History

First score snapshot

v1.9.11

40

Latest

Findings
160
Errors
143
Warnings
17
Check
2.0.0

Related Plugins

Email addon for CF7

3k+ active installs

100
Menu In Post

2k+ active installs

100
Shortcode Redirect

10k+ active installs

100
Shortcode Widget

10k+ active installs

100
Columns

3k+ active installs

99