WP Hardening 1.2.8

Does WP Hardening work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 66.66 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.136 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/wp-security-hardening/
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=wp-security-hardening%2Fwp-hardening.php&plugin_status=all&paged=1&s&_wpnonce=6bf7221dfb
Aspect after-activation
HTTP status 200
Load time 0.962 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

WP Hardening

Page screenshot: WP Hardening
URL /wp-admin/admin.php?page=wphwp_harden
Aspect menu-item
HTTP status 200
Load time 0.271 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

WP Hardening → Security Fixers

Page screenshot: WP Hardening → Security Fixers
URL /wp-admin/admin.php?page=wphwp_harden_fixers
Aspect menu-item
HTTP status 200
Load time 0.191 s
Memory usage 3.55 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.300 s
Memory usage 3.5 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.327 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.302 s0.403 s+0.101 s3.51 MiB3.6 MiB+ 91.87 KiB
/wp-admin/edit.php0.171 s0.204 s+0.033 s3.57 MiB3.64 MiB+ 69.73 KiB
/wp-admin/post-new.php0.699 s1.407 s+0.708 s6.06 MiB6.13 MiB+ 74.8 KiB
/wp-admin/upload.php0.515 s0.503 s-0.012 s3.52 MiB3.58 MiB+ 52.33 KiB
/wp-admin/options-writing.php0.173 s0.205 s+0.032 s3.5 MiB3.56 MiB+ 56.32 KiB
/wp-admin/media-new.php0.248 s0.260 s+0.012 s3.49 MiB3.55 MiB+ 64.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.148 s0.225 s+0.077 s3.5 MiB3.58 MiB+ 75.19 KiB
/wp-admin/post-new.php?post_type=page0.562 s0.908 s+0.346 s6.05 MiB6.12 MiB+ 70.32 KiB
/wp-admin/options-discussion.php0.259 s0.472 s+0.213 s3.5 MiB3.55 MiB+ 52.82 KiB
/wp-admin/edit-comments.php0.174 s0.217 s+0.043 s3.52 MiB3.57 MiB+ 52.32 KiB
/0.256 s0.200 s-0.056 s3.43 MiB3.51 MiB+ 73 KiB
Average 0.319 s0.455 s+0.136 s3.97 MiB4.04 MiB+ 66.66 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
JavaScript
PHP
Language % Lines of code Comment lines Files
CSS49.4%9,573378
JavaScript21.3%4,13167111
PHP12.7%2,4531858
Sass5.9%1,1422212
LESS5.9%1,1372712
SVG2.7%51905
PO File2.2%4181411
Total 19,373 1,083 57

PHP Code Analysis | More results »

Lines of code 2,621
Total complexity 432
Median class complexity 28.5
Median method complexity 3.0
Most complex class WHP_Change_Login_URL
Most complex function whpFormElementsClass::generate_result_block()
Classes 8
Methods 72
Functions 21

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": {
        "custom_help_widget": {
            "title": "WordPress Hardening Overview",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide WP Hardening Admin Menus and Widgets