Geolocation 0.7.4

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: 0.024 seconds
The average page load time increased by this amount after activating the plugin.

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=45561cd2a7
Aspect after-activation
HTTP status 200
Load time 0.473 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.228 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.436 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.841 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.285 s0.256 s-0.029 s3.05 MiB3.07 MiB+ 23.49 KiB
/wp-admin/edit.php0.187 s0.199 s+0.012 s3.07 MiB3.1 MiB+ 23.86 KiB
/wp-admin/post-new.php0.779 s1.000 s+0.221 s4.97 MiB4.99 MiB+ 28.63 KiB
/wp-admin/upload.php0.545 s0.635 s+0.090 s2.99 MiB3 MiB+ 6.49 KiB
/wp-admin/options-writing.php0.140 s0.167 s+0.027 s2.99 MiB2.98 MiB- 6.86 KiB
/wp-admin/media-new.php0.263 s0.196 s-0.067 s2.97 MiB2.99 MiB+ 18.68 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.177 s-0.036 s2.98 MiB3 MiB+ 23.85 KiB
/wp-admin/post-new.php?post_type=page0.621 s0.683 s+0.062 s4.96 MiB4.98 MiB+ 24.02 KiB
/wp-admin/options-discussion.php0.230 s0.190 s-0.040 s2.97 MiB2.98 MiB+ 7.3 KiB
/wp-admin/edit-comments.php0.203 s0.200 s-0.003 s3 MiB3.01 MiB+ 6.48 KiB
/0.278 s0.303 s+0.025 s2.94 MiB2.96 MiB+ 14.75 KiB
Average 0.340 s0.364 s+0.024 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,003353
PO File7.8%92391
JavaScript5.1%601392
CSS2.0%2341
Total 1,178 217 7

PHP Code Analysis | More results »

Lines of code 1,050
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 19:16:13 UTC] PHP Warning:  Undefined array key "geolocation_nonce" in /wp-content/plugins/geolocation/geolocation.php on line 132
[10-Jan-2023 19:16:20 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