Head, Footer and Post Injections 3.2.6

Does "Head, Footer and Post Injections" work with WordPress 6.3.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
16PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 17.24 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.3.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300,000+
WordPress.org page https://wordpress.org/plugins/header-footer/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=header-footer%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=56e8dada7b
Aspect after-activation
HTTP status 200
Load time 0.661 s
Memory usage 2.79 MiB
JS errors None
Resource errors None

Settings → Head and Footer

Page screenshot: Settings → Head and Footer
URL /wp-admin/options-general.php?page=header-footer%2Fadmin%2Foptions.php
Requested URL /wp-admin/options-general.php?page=header-footer/admin/options.php
Aspect menu-item
HTTP status 200
Load time 0.979 s
Memory usage 2.91 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.278 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.663 s
Memory usage 5.25 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.607 s
Memory usage 5.24 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.516 s0.380 s-0.136 s2.83 MiB2.85 MiB+ 21.73 KiB
/wp-admin/edit.php0.218 s0.213 s-0.005 s2.85 MiB2.87 MiB+ 21.73 KiB
/wp-admin/post-new.php0.802 s0.649 s-0.153 s5.22 MiB5.25 MiB+ 30.41 KiB
/wp-admin/upload.php0.773 s0.449 s-0.324 s2.77 MiB2.77 MiB+ 4.37 KiB
/wp-admin/options-writing.php0.296 s0.242 s-0.054 s2.76 MiB2.76 MiB- 3.67 KiB
/wp-admin/media-new.php0.310 s0.260 s-0.050 s2.74 MiB2.76 MiB+ 16.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.267 s+0.069 s2.76 MiB2.78 MiB+ 21.73 KiB
/wp-admin/post-new.php?post_type=page0.618 s0.907 s+0.289 s5.21 MiB5.24 MiB+ 25.99 KiB
/wp-admin/options-discussion.php0.227 s0.292 s+0.065 s2.75 MiB2.75 MiB+ 4.86 KiB
/wp-admin/edit-comments.php0.272 s0.249 s-0.023 s2.78 MiB2.79 MiB+ 4.36 KiB
/0.343 s0.218 s-0.125 s3.13 MiB3.17 MiB+ 41.62 KiB
Average 0.416 s0.375 s-0.041 s3.25 MiB3.27 MiB+ 17.24 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
CSS
Language % Lines of code Comment lines Files
PHP87.9%819354
CSS12.1%11301
Total 932 35 5

PHP Code Analysis | More results »

Lines of code 448
Total complexity 110
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function hefo_the_content()
Classes 0
Methods 0
Functions 24

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

Meta Boxes

{
    "post": {
        "hefo": {
            "title": "Head and Footer",
            "context": "advanced"
        }
    },
    "page": {
        "hefo": {
            "title": "Head and Footer",
            "context": "advanced"
        }
    }
}

PHP Error Log 16 lines

[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_1" in /wp-content/plugins/header-footer/admin/controls.php on line 143
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_1" in /wp-content/plugins/header-footer/admin/controls.php on line 146
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_1" in /wp-content/plugins/header-footer/admin/controls.php on line 149
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_2" in /wp-content/plugins/header-footer/admin/controls.php on line 143
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_2" in /wp-content/plugins/header-footer/admin/controls.php on line 146
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_2" in /wp-content/plugins/header-footer/admin/controls.php on line 149
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_3" in /wp-content/plugins/header-footer/admin/controls.php on line 143
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_3" in /wp-content/plugins/header-footer/admin/controls.php on line 146
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_3" in /wp-content/plugins/header-footer/admin/controls.php on line 149
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_4" in /wp-content/plugins/header-footer/admin/controls.php on line 143
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_4" in /wp-content/plugins/header-footer/admin/controls.php on line 146
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_4" in /wp-content/plugins/header-footer/admin/controls.php on line 149
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_5" in /wp-content/plugins/header-footer/admin/controls.php on line 143
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_5" in /wp-content/plugins/header-footer/admin/controls.php on line 146
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "inner_alt_5" in /wp-content/plugins/header-footer/admin/controls.php on line 149
[12-Oct-2023 21:56:18 UTC] PHP Warning:  Undefined array key "mobile_user_agents_parsed" in /wp-content/plugins/header-footer/admin/options.php on line 405
See also: All tests for this plugin, How to Hide Head, Footer and Post Injections Admin Menus and Meta Boxes