bad_ip WP 2.0.1

Does bad_ip WP work with WordPress 6.8.2 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: 12.59 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.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/bad-ip-wp/
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=bad-ip-wp%2Fbad-ip-wp.php&plugin_status=all&paged=1&s&_wpnonce=5e3ab17053
Aspect after-activation
HTTP status 200
Load time 0.357 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Bad IP

Page screenshot: Bad IP
URL /wp-admin/admin.php?page=bad-ip-wp
Aspect menu-item
HTTP status 200
Load time 1.687 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Bad IP → Settings

Page screenshot: Bad IP → Settings
URL /wp-admin/admin.php?page=bad-ip-settings
Aspect menu-item
HTTP status 200
Load time 0.911 s
Memory usage 3.65 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.820 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.616 s0.444 s-0.172 s3.51 MiB3.53 MiB+ 24.89 KiB
/wp-admin/edit.php0.216 s0.218 s+0.002 s3.57 MiB3.59 MiB+ 23.57 KiB
/wp-admin/post-new.php0.882 s1.249 s+0.367 s6.06 MiB6.09 MiB+ 27.01 KiB
/wp-admin/upload.php0.726 s0.614 s-0.112 s3.52 MiB3.53 MiB+ 6.16 KiB
/wp-admin/options-writing.php0.256 s0.223 s-0.033 s3.5 MiB3.51 MiB+ 10.16 KiB
/wp-admin/media-new.php0.257 s0.264 s+0.007 s3.49 MiB3.51 MiB+ 18.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.215 s+0.001 s3.5 MiB3.53 MiB+ 29.02 KiB
/wp-admin/post-new.php?post_type=page1.149 s0.823 s-0.326 s6.05 MiB6.07 MiB+ 22.54 KiB
/wp-admin/options-discussion.php0.378 s0.475 s+0.097 s3.5 MiB3.51 MiB+ 6.66 KiB
/wp-admin/edit-comments.php0.542 s0.222 s-0.320 s3.52 MiB3.53 MiB+ 6.16 KiB
/0.327 s0.997 s+0.670 s3.5 MiB3.46 MiB- 35.98 KiB
Average 0.506 s0.522 s+0.016 s3.98 MiB3.99 MiB+ 12.59 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.

CSS
PHP
Language % Lines of code Comment lines Files
CSS88.0%10,619152
PHP10.1%1,2219123
JavaScript1.9%232183
Total 12,072 124 28

PHP Code Analysis | More results »

Lines of code 807
Total complexity 144
Median class complexity 4.0
Median method complexity 1.5
Most complex class BadIPAdmin
Most complex function BadIPAdmin::hook_bad_ip_head()
Classes 5
Methods 36
Functions 4

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.

Database Tables 6

PHP Error Log 4 lines

[31-Aug-2025 19:26:55 UTC] PHP Deprecated:  Function print_emoji_styles is <strong>deprecated</strong> since version 6.4.0! Use wp_enqueue_emoji_styles instead. in /wp-includes/functions.php on line 6121
[31-Aug-2025 19:26:56 UTC] PHP Deprecated:  Function wp_admin_bar_header is <strong>deprecated</strong> since version 6.4.0! Use wp_enqueue_admin_bar_header_styles instead. in /wp-includes/functions.php on line 6121
[31-Aug-2025 19:26:58 UTC] PHP Deprecated:  Function print_emoji_styles is <strong>deprecated</strong> since version 6.4.0! Use wp_enqueue_emoji_styles instead. in /wp-includes/functions.php on line 6121
[31-Aug-2025 19:26:58 UTC] PHP Deprecated:  Function wp_admin_bar_header is <strong>deprecated</strong> since version 6.4.0! Use wp_enqueue_admin_bar_header_styles instead. in /wp-includes/functions.php on line 6121
See also: All tests for this plugin, How to Hide bad_ip WP Admin Menus