OneSignal Push Notifications 2.4.4

Does OneSignal Push Notifications work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 12.99 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 90,000+
WordPress.org page https://wordpress.org/plugins/onesignal-free-web-push-notifications/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=onesignal-free-web-push-notifications%2Fonesignal.php&plugin_status=all&paged=1&s&_wpnonce=ff628bd7a4
Aspect after-activation
HTTP status 200
Load time 0.238 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

OneSignal Push

Page screenshot: OneSignal Push
URL /wp-admin/admin.php?page=onesignal-push
Aspect menu-item
HTTP status 200
Load time 0.749 s
Memory usage 3.66 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.404 s
Memory usage 3.42 MiB
JS errors
[
    {
        "message": "f: OneSignal: This app ID does not match any existing app. Double check your app ID.\n    at Function.<anonymous> (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151606:1:243119)\n    at Generator.next (<anonymous>)\n    at https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151606:1:883\n    at new Promise (<anonymous>)\n    at n (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151606:1:660)\n    at Function.getAppConfig (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151606:1:243034)\n    at Ci.<anonymous> (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151606:1:255231)\n    at Generator.next (<anonymous>)\n    at https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151606:1:883\n    at new Promise (<anonymous>)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.570 s
Memory usage 5.97 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.483 s
Memory usage 5.8 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.332 s0.250 s-0.082 s3.48 MiB3.5 MiB+ 22.74 KiB
/wp-admin/edit.php0.176 s0.201 s+0.025 s3.54 MiB3.56 MiB+ 22.43 KiB
/wp-admin/post-new.php0.719 s0.592 s-0.127 s5.92 MiB5.97 MiB+ 47.17 KiB
/wp-admin/upload.php0.544 s0.313 s-0.231 s3.5 MiB3.5 MiB+ 4.23 KiB
/wp-admin/options-writing.php0.197 s0.177 s-0.020 s3.47 MiB3.48 MiB+ 8.23 KiB
/wp-admin/media-new.php0.275 s0.330 s+0.055 s3.46 MiB3.48 MiB+ 16.42 KiB
/wp-admin/edit-tags.php?taxonomy=category0.169 s0.225 s+0.056 s3.48 MiB3.5 MiB+ 27.09 KiB
/wp-admin/post-new.php?post_type=page0.532 s0.548 s+0.016 s5.92 MiB5.96 MiB+ 43.52 KiB
/wp-admin/options-discussion.php0.271 s0.245 s-0.026 s3.47 MiB3.48 MiB+ 4.73 KiB
/wp-admin/edit-comments.php0.184 s0.178 s-0.006 s3.49 MiB3.5 MiB+ 4.23 KiB
/0.275 s0.215 s-0.060 s3.48 MiB3.42 MiB- 57.86 KiB
Average 0.334 s0.298 s-0.036 s3.93 MiB3.94 MiB+ 12.99 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
SVG
JavaScript
Language % Lines of code Comment lines Files
PHP53.7%2,2092188
CSS20.9%8585006
SVG13.8%56602
JavaScript11.3%465794
HTML0.3%1313
Total 4,111 798 23

PHP Code Analysis | More results »

Lines of code 1,429
Total complexity 325
Median class complexity 31.0
Median method complexity 2.0
Most complex class OneSignal_Admin
Most complex function OneSignal_Public::onesignal_header()
Classes 5
Methods 46
Functions 8

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 1

Sidebar Widgets 1

ID Name
onesignalwidgetOneSignal

Meta Boxes

{
    "post": {
        "onesignal_notif_on_post": {
            "title": "OneSignal Push Notifications",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide OneSignal Push Notifications Admin Menus and Meta Boxes