Geolocation 1.9.1

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

Summary

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

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

Page speed impact: 0.028 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2
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=4b5dd877e4
Aspect after-activation
HTTP status 200
Load time 0.222 s
Memory usage 3.04 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.368 s
Memory usage 3.12 MiB
JS errors
[
    {
        "message": "ReferenceError: google is not defined\n    at setMarkerOptions (/wp-admin/options-general.php?page=geolocation.php:316:5)\n    at initializeMap (/wp-admin/options-general.php?page=geolocation.php:384:5)\n    at providerSelected (/wp-admin/options-general.php?page=geolocation.php:466:5)\n    at initializeForm (/wp-admin/options-general.php?page=geolocation.php:473:5)\n    at HTMLDocument.<anonymous> (/wp-admin/options-general.php?page=geolocation.php:485:5)",
        "trace": null,
        "code": null
    }
]
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.178 s
Memory usage 2.99 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 1.540 s
Memory usage 5.05 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.260 s0.219 s-0.041 s3.07 MiB3.1 MiB+ 27.11 KiB
/wp-admin/edit.php0.171 s0.162 s-0.009 s3.1 MiB3.13 MiB+ 27.48 KiB
/wp-admin/post-new.php0.702 s1.452 s+0.750 s5.02 MiB5.05 MiB+ 35.23 KiB
/wp-admin/upload.php0.647 s0.386 s-0.261 s3.02 MiB3.03 MiB+ 10.07 KiB
/wp-admin/options-writing.php0.150 s0.144 s-0.006 s3.01 MiB3.01 MiB- 3.17 KiB
/wp-admin/media-new.php0.264 s0.220 s-0.044 s2.99 MiB3.01 MiB+ 22.26 KiB
/wp-admin/edit-tags.php?taxonomy=category0.167 s0.161 s-0.006 s3.01 MiB3.03 MiB+ 27.43 KiB
/wp-admin/post-new.php?post_type=page0.567 s0.579 s+0.012 s5.01 MiB5.04 MiB+ 30.38 KiB
/wp-admin/options-discussion.php0.198 s0.197 s-0.001 s3 MiB3.01 MiB+ 10.88 KiB
/wp-admin/edit-comments.php0.170 s0.183 s+0.013 s3.03 MiB3.04 MiB+ 10.06 KiB
/0.308 s0.208 s-0.100 s2.97 MiB2.99 MiB+ 16.55 KiB
Average 0.328 s0.356 s+0.028 s3.38 MiB3.4 MiB+ 19.48 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
Language % Lines of code Comment lines Files
PHP71.7%1,7523845
CSS24.4%595302
PO File3.8%94481
JavaScript0.0%151
Total 2,442 467 9

PHP Code Analysis | More results »

Lines of code 1,839
Total complexity 161
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function geolocation_settings_page()
Classes 0
Methods 0
Functions 48

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 11

Meta Boxes

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

PHP Error Log 2 lines

[03-Apr-2023 21:00:37 UTC] PHP Warning:  Undefined array key "geolocation_nonce" in /wp-content/plugins/geolocation/geolocation.php on line 194
[03-Apr-2023 21:00:43 UTC] PHP Warning:  Undefined array key "geolocation_nonce" in /wp-content/plugins/geolocation/geolocation.php on line 194
See also: All tests for this plugin, How to Hide Geolocation Admin Menus and Meta Boxes