bad_ip WP 2.0.4

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: 11.44 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=60dc2955ba
Aspect after-activation
HTTP status 200
Load time 0.347 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 5.701 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.411 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.235 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.587 s0.471 s-0.116 s3.51 MiB3.53 MiB+ 24.89 KiB
/wp-admin/edit.php0.234 s0.208 s-0.026 s3.57 MiB3.59 MiB+ 23.57 KiB
/wp-admin/post-new.php0.913 s1.503 s+0.590 s6.06 MiB6.09 MiB+ 27.02 KiB
/wp-admin/upload.php0.678 s0.554 s-0.124 s3.52 MiB3.53 MiB+ 6.16 KiB
/wp-admin/options-writing.php0.236 s0.223 s-0.013 s3.5 MiB3.51 MiB+ 10.16 KiB
/wp-admin/media-new.php0.295 s0.258 s-0.037 s3.49 MiB3.51 MiB+ 18.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.189 s-0.020 s3.5 MiB3.53 MiB+ 29.02 KiB
/wp-admin/post-new.php?post_type=page1.183 s0.720 s-0.463 s6.05 MiB6.07 MiB+ 22.54 KiB
/wp-admin/options-discussion.php0.360 s0.270 s-0.090 s3.5 MiB3.51 MiB+ 6.66 KiB
/wp-admin/edit-comments.php0.483 s0.196 s-0.287 s3.52 MiB3.53 MiB+ 6.16 KiB
/0.310 s0.238 s-0.072 s3.5 MiB3.45 MiB- 48.73 KiB
Average 0.499 s0.439 s-0.060 s3.98 MiB3.99 MiB+ 11.44 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.0%1,21111823
JavaScript1.9%232183
Total 12,062 151 28

PHP Code Analysis | More results »

Lines of code 778
Total complexity 140
Median class complexity 4.0
Median method complexity 1.5
Most complex class BadIPAdmin
Most complex function BadIPAdmin::bad_ip_admin_settings_page()
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

[05-Sep-2025 22:50:09 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
[05-Sep-2025 22:50:14 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
[05-Sep-2025 22:50:15 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
[05-Sep-2025 22:50:15 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