OneSignal – Web Push Notifications

Increase engagement and drive more repeat traffic to your WordPress site with push notifications. Now a WordPress VIP Gold Partner.

v3.9.0OneSignal Push NotificationsUpdated Added 70k+ installs86% rating0% support resolved
38
Score
53
Errors
64
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability73

Top Issues by Category

security64
maintainability32
i18n19
repo_compliance2

Issues Details

117 issues found in latest scan

ERROR26
WordPress.Security.EscapeOutput.OutputNotEscaped

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"oneSignal_options['serviceWorkerParam'] = { scope: '$swScope' };\n"'.

WARNING20
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

$_POST[$field] not unslashed before sanitization. Use wp_unslash() or similar

WARNING11
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "admin_files".

ERROR10
WordPress.WP.I18n.TextDomainMismatch

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

WARNING8
WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.

ERROR6
WordPress.WP.I18n.MissingArgDomain

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

WARNING5
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

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

WARNING5
WordPress.PHP.DevelopmentFunctions.error_log_error_log

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

WARNING5
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

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

WARNING4
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

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

WARNING3
WordPress.WP.EnqueuedResourceParameters.NotInFooter

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.

ERROR3
missing_direct_file_access_protection

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

ERROR2
WordPress.WP.AlternativeFunctions.parse_url_parse_url

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

ERROR2
WordPress.WP.I18n.MissingTranslatorsComment

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.

WARNING1
WordPress.Security.SafeRedirect.wp_redirect_wp_redirect

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.

ERROR1
WordPress.WP.AlternativeFunctions.file_system_operations_fclose

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERROR1
WordPress.WP.EnqueuedResources.NonEnqueuedScript

Scripts must be registered/enqueued via wp_enqueue_script()

ERROR1
WordPress.WP.I18n.NonSingularStringLiteralText

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

ERROR1
license_mismatch

Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.

WARNING1
mismatched_plugin_name

Plugin name "OneSignal - Web Push Notifications" is different from the name declared in plugin header "OneSignal Push Notifications".

WARNING1
readme_parser_warnings_too_many_tags

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

Latest Snapshot

Findings

117

Errors

53

Warnings

64

Score History

First score snapshot

First scan completed

v3.9.0 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

v3.9.0

38

Latest

Findings
117
Errors
53
Warnings
64
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins