Web Push Notifications – Webpushr

Fastest growing & lightweight plugin for Web Push Notifications. Add browser push notifications to your WordPress & WooCommerce site.

v4.39.0webpushrUpdated Added 10k+ installs96% rating0% support resolved
31
Score
169
Errors
293
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability40

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

462 findings

Security

320

10 issue groups

Maintainability

128

13 issue groups

I18n

10

2 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<p><strong>Total Active Subscribers: $total_subscribers </strong></p>"'.89
Category
Security
Occurrences
89
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<p><strong>Total Active Subscribers: $total_subscribers </strong></p>"'.

WARNINGSecurityRequest data is not unslashed$_COOKIE[&#039;_webpushrEndPoint&#039;] not unslashed before sanitization. Use wp_unslash() or similar62
Category
Security
Occurrences
62
Severity
warning

Sample message

$_COOKIE[&#039;_webpushrEndPoint&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE[&#039;_webpushrEndPoint&#039;]60
Category
Security
Occurrences
60
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[&#039;_webpushrEndPoint&#039;]

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_COOKIE[&#039;_webpushrEndPoint&#039;]. Check that the array index exists before using it.48
Category
Security
Occurrences
48
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_COOKIE[&#039;_webpushrEndPoint&#039;]. Check that the array index exists before using it.

ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo $_SERVER ..." but found "<?= $_SERVER ..."38
Category
Maintainability
Occurrences
38
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $_SERVER ..." but found "<?= $_SERVER ..."

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$action_button1_title&quot;.38
Category
Maintainability
Occurrences
38
Severity
warning

Sample message

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

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.32
Category
Security
Occurrences
32
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.19
Category
Security
Occurrences
19
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;create_wpp_post_notification_box&quot;.12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_the_permalink()" requires WordPress 3.9.0, but your plugin minimum supported version is WordPress 3.8.0.12
Category
Maintainability
Occurrences
12
Severity
error

Sample message

Function "get_the_permalink()" requires WordPress 3.9.0, but your plugin minimum supported version is WordPress 3.8.0.

Show 15 more
ERRORI18nText Domain Mismatch7
Category
I18n
Occurrences
7
Severity
error

Sample message

Mismatched text domain. Expected 'webpushr-web-push-notifications' but got 'webpushr'.

WARNINGMaintainabilityDirect Query6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Use of a direct database call is discouraged.

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().

ERRORMaintainabilityMissing direct file access protection6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

WARNINGSecuritywp redirect wp redirect5
Category
Security
Occurrences
5
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; 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.

ERRORSecurityUnsafe printing function3
Category
Security
Occurrences
3
Severity
error

Sample message

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

ERRORI18nMissing Arg Domain3
Category
I18n
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilitydate date2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGMaintainabilityNon-prefixed constant2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;WPP_WEBPUSHR&quot;.

ERRORMaintainabilityNon Enqueued Stylesheet2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

ERRORMaintainabilitybadly named files2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORSecurityDatabase parameter is not escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

Unescaped parameter date('Y-m-d H:i:s') ."' - INTERVAL %d hour " used in $wpdb->get_results()

ERRORSecuritySQL query is not prepared1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilityerror log print r1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilitystrip tags strip tags1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

External Connections

Not analyzed yet.

Score History

First score snapshot

v4.39.0

31

Latest

Findings
462
Errors
169
Warnings
293
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins

Pushly

900 active installs

100
SendPulse Free Web Push

500 active installs

100
PushCrew

400 active installs

78