51Degrees 4.5.4

Does "51Degrees - Optimize by Device & Location" work with WordPress 6.9.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 53.83 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.9.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/51degrees-optimize-by-device-location/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=51degrees-optimize-by-device-location%2Ffiftyonedegrees.php&plugin_status=all&paged=1&s&_wpnonce=860e1776c3
Aspect after-activation
HTTP status 200
Load time 0.398 s
Memory usage 3.91 MiB
JS errors None
Resource errors None

Settings → 51Degrees

Page screenshot: Settings → 51Degrees
URL /wp-admin/options-general.php?page=51Degrees
Aspect menu-item
HTTP status 200
Load time 0.264 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

Settings → 51Degrees → Google Analytics

Page screenshot: Settings → 51Degrees → Google Analytics
URL /wp-admin/options-general.php?page=51Degrees&tab=google-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.242 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Settings → 51Degrees → Properties

Page screenshot: Settings → 51Degrees → Properties
URL /wp-admin/options-general.php?page=51Degrees&tab=properties
Aspect menu-item-tab
HTTP status 200
Load time 0.250 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Settings → 51Degrees → Help

Page screenshot: Settings → 51Degrees → Help
URL /wp-admin/options-general.php?page=51Degrees&tab=help
Aspect menu-item-tab
HTTP status 200
Load time 1.356 s
Memory usage 3.74 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.246 s
Memory usage 4.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.412 s0.447 s+0.035 s3.78 MiB3.84 MiB+ 64.95 KiB
/wp-admin/edit.php0.358 s0.292 s-0.066 s3.78 MiB3.83 MiB+ 45.32 KiB
/wp-admin/post-new.php0.830 s0.925 s+0.095 s6.31 MiB6.45 MiB+ 142.47 KiB
/wp-admin/upload.php0.622 s0.476 s-0.146 s3.74 MiB3.79 MiB+ 48.65 KiB
/wp-admin/options-writing.php0.317 s0.475 s+0.158 s3.71 MiB3.74 MiB+ 32.64 KiB
/wp-admin/media-new.php0.513 s0.339 s-0.174 s3.7 MiB3.74 MiB+ 40.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.310 s0.299 s-0.011 s3.72 MiB3.77 MiB+ 51.2 KiB
/wp-admin/post-new.php?post_type=page0.824 s0.712 s-0.112 s6.3 MiB6.37 MiB+ 76.43 KiB
/wp-admin/options-discussion.php0.324 s0.769 s+0.445 s3.71 MiB3.74 MiB+ 28.83 KiB
/wp-admin/edit-comments.php0.318 s0.335 s+0.017 s3.73 MiB3.76 MiB+ 28.64 KiB
/0.265 s0.200 s-0.065 s4.11 MiB4.14 MiB+ 32.19 KiB
Average 0.463 s0.479 s+0.016 s4.24 MiB4.29 MiB+ 53.83 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
Language % Lines of code Comment lines Files
PHP88.2%1,94775013
JavaScript8.0%177593
JSON1.9%4302
CSS1.9%4111
Total 2,208 810 19

PHP Code Analysis | More results »

Lines of code 1,701
Total complexity 232
Median class complexity 19.5
Median method complexity 2.0
Most complex class Fiftyonedegrees_Google_Analytics
Most complex function Fiftyonedegrees_Custom_Dimensions::prepare_items()
Classes 8
Methods 69
Functions 3

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 2

PHP Error Log 4 lines

[05-Mar-2026 08:15:27 UTC] PHP Deprecated:  stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.wp-scripts.php on line 133
[05-Mar-2026 08:15:29 UTC] PHP Deprecated:  stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.wp-scripts.php on line 133
[05-Mar-2026 08:15:33 UTC] PHP Deprecated:  stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.wp-scripts.php on line 133
[05-Mar-2026 08:15:36 UTC] PHP Deprecated:  stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.wp-scripts.php on line 133
See also: All tests for this plugin