Geolocation 0.7.3

Does Geolocation work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 15.52 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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 500+
WordPress.org page https://wordpress.org/plugins/geolocation/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=geolocation%2Fgeolocation.php&plugin_status=all&paged=1&s&_wpnonce=cb8397e9c2
Aspect after-activation
HTTP status 200
Load time 0.429 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Settings → Geolocation

Page screenshot: Settings → Geolocation
URL /wp-admin/options-general.php?page=geolocation.php
Aspect menu-item
HTTP status 200
Load time 0.239 s
Memory usage 2.99 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.770 s
Memory usage 2.96 MiB
JS errors None
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.777 s
Memory usage 4.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.280 s0.264 s-0.016 s3.05 MiB3.07 MiB+ 23.49 KiB
/wp-admin/edit.php0.187 s0.194 s+0.007 s3.07 MiB3.1 MiB+ 23.86 KiB
/wp-admin/post-new.php0.777 s1.013 s+0.236 s4.97 MiB4.99 MiB+ 28.63 KiB
/wp-admin/upload.php0.553 s0.436 s-0.117 s2.99 MiB3 MiB+ 6.49 KiB
/wp-admin/options-writing.php0.138 s0.255 s+0.117 s2.99 MiB2.98 MiB- 6.86 KiB
/wp-admin/media-new.php0.280 s0.235 s-0.045 s2.97 MiB2.99 MiB+ 18.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.241 s0.183 s-0.058 s2.98 MiB3 MiB+ 23.85 KiB
/wp-admin/post-new.php?post_type=page0.662 s0.687 s+0.025 s4.96 MiB4.98 MiB+ 24.02 KiB
/wp-admin/options-discussion.php0.206 s0.200 s-0.006 s2.97 MiB2.98 MiB+ 7.3 KiB
/wp-admin/edit-comments.php0.208 s0.212 s+0.004 s3 MiB3.01 MiB+ 6.48 KiB
/0.283 s0.308 s+0.025 s2.94 MiB2.96 MiB+ 14.75 KiB
Average 0.347 s0.362 s+0.016 s3.35 MiB3.37 MiB+ 15.52 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
PHP85.1%1,000333
PO File7.8%92391
JavaScript5.1%601392
CSS2.0%2341
Total 1,175 215 7

PHP Code Analysis | More results »

Lines of code 1,046
Total complexity 114
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function display_location_post()
Classes 0
Methods 0
Functions 40

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 9

Meta Boxes

{
    "post": {
        "geolocation_sectionid": {
            "title": "Geolocation",
            "context": "advanced"
        }
    }
}

PHP Error Log 2 lines

[10-Jan-2023 13:08:22 UTC] PHP Warning:  Undefined array key "geolocation_nonce" in /wp-content/plugins/geolocation/geolocation.php on line 132
[10-Jan-2023 13:08:30 UTC] PHP Warning:  Undefined array key "geolocation_nonce" in /wp-content/plugins/geolocation/geolocation.php on line 132
See also: All tests for this plugin, How to Hide Geolocation Admin Menus and Meta Boxes