bad_ip WP 2.0.2

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: 18.39 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=1c7f416b09
Aspect after-activation
HTTP status 200
Load time 0.287 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.614 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.924 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.739 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.311 s0.303 s-0.008 s3.51 MiB3.53 MiB+ 24.22 KiB
/wp-admin/edit.php0.173 s0.180 s+0.007 s3.57 MiB3.59 MiB+ 22.9 KiB
/wp-admin/post-new.php0.729 s0.596 s-0.133 s6.06 MiB6.09 MiB+ 26.34 KiB
/wp-admin/upload.php0.541 s0.323 s-0.218 s3.52 MiB3.53 MiB+ 5.48 KiB
/wp-admin/options-writing.php0.185 s0.180 s-0.005 s3.5 MiB3.51 MiB+ 9.48 KiB
/wp-admin/media-new.php0.249 s0.393 s+0.144 s3.49 MiB3.51 MiB+ 17.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.191 s+0.004 s3.5 MiB3.53 MiB+ 28.34 KiB
/wp-admin/post-new.php?post_type=page0.579 s0.564 s-0.015 s6.05 MiB6.08 MiB+ 26.34 KiB
/wp-admin/options-discussion.php0.424 s0.274 s-0.150 s3.5 MiB3.51 MiB+ 6.03 KiB
/wp-admin/edit-comments.php0.189 s0.199 s+0.010 s3.52 MiB3.53 MiB+ 5.53 KiB
/0.279 s0.696 s+0.417 s3.43 MiB3.46 MiB+ 29.99 KiB
Average 0.350 s0.354 s+0.005 s3.97 MiB3.99 MiB+ 18.39 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
CSS87.8%10,619152
PHP10.3%1,2409123
JavaScript1.9%232183
Total 12,091 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

[02-Sep-2025 19:50: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
[02-Sep-2025 19:50: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
[02-Sep-2025 19:50:57 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
[02-Sep-2025 19:50: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