Increase engagement and drive more repeat traffic to your WordPress site with push notifications. Now a WordPress VIP Gold Partner.
Prioritized issue groups from the latest Plugin Check scan
Security
64
6 issue groups
Maintainability
32
9 issue groups
I18n
19
4 issue groups
Repo Compliance
2
2 issue groups
Sample message
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"'.
Sample message
$_POST[$field] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "admin_files".
Sample message
Mismatched text domain. Expected 'onesignal-free-web-push-notifications' but got 'onesignal'.
Sample message
Processing form data without nonce verification.
Sample message
Missing $domain parameter in function call to __().
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$is_migrated".
Sample message
error_log() found. Debug code should not normally be used in production.
Sample message
Detected usage of a non-sanitized input variable: $_POST['onesignal_v3_metabox_nonce']
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['onesignal_notification_custom_content']. Check that the array index exists before using it.
Sample message
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.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
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.
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.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
Sample message
Scripts must be registered/enqueued via wp_enqueue_script()
Sample message
The $text parameter must be a single text string literal. Found: $label
Sample message
Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.
Sample message
Plugin name "OneSignal - Web Push Notifications" is different from the name declared in plugin header "OneSignal Push Notifications".
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Potential connections found in static code analysis.
Outbound calls
45
External assets
6
Incoming endpoints
2
No public endpoints detected.
wp_ajax
wp_ajax
3 score snapshots
v3.9.2
38
Latest
v3.9.1
38
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 38 | 117 | 53 | 64 | v3.9.2 | 2.0.0 |
| 38 | 117 | 53 | 64 | v3.9.1 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.