Admin Block Country 7.1.4

Does Admin Block Country work with WordPress 6.8.3 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version6.8.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/admin-block-country/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=admin-block-country%2Fadmin-block-country.php&plugin_status=all&paged=1&s&_wpnonce=7ad41ee972
Aspect after-activation
HTTP status 200
Load time 0.950 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Block Country

Page screenshot: Block Country
URL /wp-admin/admin.php?page=admin-block-country%2Fadmin-block-country.php
Requested URL /wp-admin/admin.php?page=admin-block-country/admin-block-country.php
Aspect menu-item
HTTP status 200
Load time 0.732 s
Memory usage 3.49 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.187 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.372 s0.742 s+0.370 s3.51 MiB3.51 MiB+ 7.98 KiB
/wp-admin/edit.php0.210 s0.635 s+0.425 s3.57 MiB3.58 MiB+ 7.98 KiB
/wp-admin/post-new.php0.849 s1.091 s+0.242 s6.06 MiB6.07 MiB+ 11.62 KiB
/wp-admin/upload.php0.789 s0.878 s+0.089 s3.52 MiB3.51 MiB- 9.43 KiB
/wp-admin/options-writing.php0.236 s0.642 s+0.406 s3.5 MiB3.5 MiB- 5.44 KiB
/wp-admin/media-new.php0.291 s0.651 s+0.360 s3.49 MiB3.49 MiB+ 2.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.679 s+0.480 s3.5 MiB3.52 MiB+ 13.43 KiB
/wp-admin/post-new.php?post_type=page0.772 s1.080 s+0.308 s6.05 MiB6.06 MiB+ 7.13 KiB
/wp-admin/options-discussion.php0.473 s0.697 s+0.224 s3.5 MiB3.49 MiB- 8.94 KiB
/wp-admin/edit-comments.php0.261 s0.646 s+0.385 s3.52 MiB3.51 MiB- 9.44 KiB
/0.331 s0.420 s+0.089 s3.43 MiB3.44 MiB+ 3.32 KiB
Average 0.435 s0.742 s+0.307 s3.97 MiB3.97 MiB+ 1.91 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
PHP98.2%8,12813221
Markdown0.7%6201
Perl0.5%3921
JSON0.3%2101
CSS0.2%1401
JavaScript0.1%1001
Total 8,274 134 26

PHP Code Analysis | More results »

Lines of code 2,884
Total complexity 867
Median class complexity 46.0
Median method complexity 5.0
Most complex class AdminBlockCountry\ABCTomM8
Most complex function get_time_zone()
Classes 2
Methods 11
Functions 11

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

PHP Error Log 2 lines

[02-Oct-2025 13:52:13 UTC] PHP Deprecated:  Optional parameter $field_attributes declared before required parameter $container_element is implicitly treated as a required parameter in /wp-content/plugins/admin-block-country/lib/tom-m8te.php on line 84
[02-Oct-2025 13:52:16 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/admin-block-country/admin-block-country.php on line 128
See also: All tests for this plugin, How to Hide the "Block Country" Admin Menu