wp_head() cleaner 2.0.9

Does wp_head() cleaner work with WordPress 6.9.4 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 12.19 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.9.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/wp-head-cleaner/
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=wp-head-cleaner%2Fwp-head-cleaner.php&plugin_status=all&paged=1&s&_wpnonce=fbf7d92314
Aspect after-activation
HTTP status 200
Load time 0.410 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

Settings → wp_head() cleaner

Page screenshot: Settings → wp_head() cleaner
URL /wp-admin/options-general.php?page=wp_head_cleaner
Aspect menu-item
HTTP status 200
Load time 0.326 s
Memory usage 3.76 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.280 s
Memory usage 4.12 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.511 s0.430 s-0.081 s3.78 MiB3.79 MiB+ 17.5 KiB
/wp-admin/edit.php0.448 s0.381 s-0.067 s3.78 MiB3.8 MiB+ 17.5 KiB
/wp-admin/post-new.php0.914 s1.189 s+0.275 s6.31 MiB6.33 MiB+ 21.93 KiB
/wp-admin/upload.php0.579 s0.550 s-0.029 s3.74 MiB3.74 MiB+ 96 bytes
/wp-admin/options-writing.php0.410 s0.410 s+0.000 s3.71 MiB3.72 MiB+ 4.09 KiB
/wp-admin/media-new.php0.612 s0.343 s-0.269 s3.7 MiB3.71 MiB+ 12.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.442 s0.354 s-0.088 s3.72 MiB3.74 MiB+ 23.01 KiB
/wp-admin/post-new.php?post_type=page0.838 s0.768 s-0.070 s6.3 MiB6.32 MiB+ 21.93 KiB
/wp-admin/options-discussion.php0.406 s0.508 s+0.102 s3.71 MiB3.72 MiB+ 600 bytes
/wp-admin/edit-comments.php0.401 s0.383 s-0.018 s3.73 MiB3.73 MiB+ 88 bytes
/0.347 s0.235 s-0.112 s4.11 MiB4.12 MiB+ 15.02 KiB
Average 0.537 s0.505 s-0.032 s4.24 MiB4.25 MiB+ 12.19 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
PO File
Language % Lines of code Comment lines Files
PHP72.0%250122
PO File28.0%97401
Total 347 52 3

PHP Code Analysis | More results »

Lines of code 246
Total complexity 16
Median class complexity 16.0
Median method complexity 1.0
Most complex class WP_Head_Cleaner
Most complex function WP_Head_Cleaner::setup_hooks()
Classes 1
Methods 9
Functions 0

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.

No new entries found.

PHP Error Log 3 lines

[19-Mar-2026 18:52:06 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[19-Mar-2026 18:52:06 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[19-Mar-2026 18:52:06 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/link-template.php on line 4881
See also: All tests for this plugin, How to Hide the "wp_head() cleaner" Admin Menu