Head & Footer Code 1.4.6

Does Head & Footer Code work with WordPress 6.9 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: 61.45 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
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/head-footer-code/
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=head-footer-code%2Fhead-footer-code.php&plugin_status=all&paged=1&s&_wpnonce=8706e28884
Aspect after-activation
HTTP status 200
Load time 0.344 s
Memory usage 3.81 MiB
JS errors None
Resource errors None

Tools → Head & Footer Code

Page screenshot: Tools → Head & Footer Code
URL /wp-admin/tools.php?page=head-footer-code
Aspect menu-item
HTTP status 200
Load time 0.595 s
Memory usage 3.78 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 4.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.454 s0.358 s-0.096 s3.78 MiB3.85 MiB+ 71.03 KiB
/wp-admin/edit.php0.348 s0.409 s+0.061 s3.78 MiB3.85 MiB+ 71.05 KiB
/wp-admin/post-new.php0.837 s0.871 s+0.034 s6.31 MiB6.38 MiB+ 77.83 KiB
/wp-admin/upload.php0.625 s0.401 s-0.224 s3.74 MiB3.79 MiB+ 53.35 KiB
/wp-admin/options-writing.php0.332 s0.278 s-0.054 s3.71 MiB3.77 MiB+ 57.34 KiB
/wp-admin/media-new.php0.493 s0.326 s-0.167 s3.7 MiB3.77 MiB+ 65.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.453 s0.453 s+0.000 s3.72 MiB3.79 MiB+ 76.21 KiB
/wp-admin/post-new.php?post_type=page0.666 s0.697 s+0.031 s6.3 MiB6.37 MiB+ 74.41 KiB
/wp-admin/options-discussion.php0.331 s0.336 s+0.005 s3.71 MiB3.77 MiB+ 53.84 KiB
/wp-admin/edit-comments.php0.316 s0.316 s+0.000 s3.73 MiB3.79 MiB+ 53.34 KiB
/0.273 s0.180 s-0.093 s4.12 MiB4.14 MiB+ 22.01 KiB
Average 0.466 s0.420 s-0.046 s4.24 MiB4.3 MiB+ 61.45 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
PHP95.1%1,74367114
Sass4.9%8912
Total 1,832 672 16

PHP Code Analysis | More results »

Lines of code 1,575
Total complexity 296
Median class complexity 21.0
Median method complexity 3.0
Most complex class Techwebux\Hfc\Common
Most complex function Techwebux\Hfc\Settings::settings_init()
Classes 7
Methods 51
Functions 12

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 4 lines

[02-Dec-2025 23:26:33 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[02-Dec-2025 23:26:33 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[02-Dec-2025 23:26:41 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[02-Dec-2025 23:26:41 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
See also: All tests for this plugin, How to Hide the "Head & Footer Code" Admin Menu