Headers Security Advanced & HSTS WP 5.2.4

Does "Headers Security Advanced & HSTS WP" 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: 41.61 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 90,000+
WordPress.org page https://wordpress.org/plugins/headers-security-advanced-hsts-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=headers-security-advanced-hsts-wp%2Fheaders-security-advanced-hsts-wp.php&plugin_status=all&paged=1&s&_wpnonce=dc464258cc
Aspect after-activation
HTTP status 200
Load time 0.453 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

Settings → Headers Security Advanced & HSTS WP

Page screenshot: Settings → Headers Security Advanced & HSTS WP
URL /wp-admin/options-general.php?page=headers-security-advanced-hsts-wp-plugin
Aspect menu-item
HTTP status 200
Load time 0.371 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.298 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.352 s
Memory usage 3.82 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.435 s0.362 s-0.073 s3.77 MiB3.82 MiB+ 46.97 KiB
/wp-admin/edit.php0.371 s0.322 s-0.049 s3.78 MiB3.83 MiB+ 46.61 KiB
/wp-admin/post-new.php0.882 s0.903 s+0.021 s6.3 MiB6.37 MiB+ 68.27 KiB
/wp-admin/upload.php0.720 s0.451 s-0.269 s3.74 MiB3.76 MiB+ 27.55 KiB
/wp-admin/options-writing.php0.333 s0.314 s-0.019 s3.71 MiB3.74 MiB+ 31.54 KiB
/wp-admin/media-new.php0.496 s0.351 s-0.145 s3.7 MiB3.74 MiB+ 39.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.327 s0.298 s-0.029 s3.71 MiB3.76 MiB+ 50.41 KiB
/wp-admin/post-new.php?post_type=page0.733 s0.851 s+0.118 s6.29 MiB6.36 MiB+ 63.8 KiB
/wp-admin/options-discussion.php0.356 s0.359 s+0.003 s3.71 MiB3.74 MiB+ 28.04 KiB
/wp-admin/edit-comments.php0.350 s0.311 s-0.039 s3.73 MiB3.76 MiB+ 27.53 KiB
/0.304 s0.178 s-0.126 s4.1 MiB4.13 MiB+ 27.22 KiB
Average 0.482 s0.427 s-0.055 s4.23 MiB4.27 MiB+ 41.61 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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File57.5%1,1149646
PHP34.2%662283
CSS3.0%5812
SVG2.5%4811
XML2.1%41221
JSON0.7%1401
Total 1,937 1,016 14

PHP Code Analysis | More results »

Lines of code 659
Total complexity 64
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function hsts_plugin_settings_page()
Classes 0
Methods 0
Functions 22

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 6

Meta Boxes

{
    "dashboard": {
        "wpexplorer_dashboard_widget": {
            "title": "Headers Security Advanced & HSTS WP",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[03-Dec-2025 01:01:13 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
[03-Dec-2025 01:01:13 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
[03-Dec-2025 01:01:22 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
[03-Dec-2025 01:01:22 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 Headers Security Advanced & HSTS WP Admin Menus and Widgets