WP Hardening 1.2.5

Does WP Hardening work with WordPress 6.0.3 and PHP 7.4.8? 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: 88.81 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.0.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=758e943824
Aspect after-activation
HTTP status 200
Load time 1.069 s
Memory usage 3.78 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.325 s
Memory usage 3.77 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.300 s
Memory usage 3.75 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.559 s
Memory usage 3.63 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.513 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.442 s0.419 s-0.023 s3.73 MiB3.82 MiB+ 90.3 KiB
/wp-admin/edit.php0.201 s0.272 s+0.071 s3.76 MiB3.84 MiB+ 79.58 KiB
/wp-admin/post-new.php0.968 s2.047 s+1.079 s5.55 MiB5.64 MiB+ 84.09 KiB
/wp-admin/upload.php0.470 s0.585 s+0.115 s3.69 MiB3.77 MiB+ 78.8 KiB
/wp-admin/options-writing.php0.287 s0.382 s+0.095 s3.62 MiB3.74 MiB+ 121.77 KiB
/wp-admin/media-new.php0.441 s0.280 s-0.161 s3.67 MiB3.74 MiB+ 78.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.268 s+0.062 s3.69 MiB3.77 MiB+ 79.56 KiB
/wp-admin/post-new.php?post_type=page0.682 s1.043 s+0.361 s5.55 MiB5.62 MiB+ 75.67 KiB
/wp-admin/options-discussion.php0.244 s0.249 s+0.005 s3.6 MiB3.74 MiB+ 142.34 KiB
/wp-admin/edit-comments.php0.237 s0.290 s+0.053 s3.7 MiB3.78 MiB+ 79.81 KiB
/0.294 s0.304 s+0.010 s3.57 MiB3.63 MiB+ 66.34 KiB
Average 0.407 s0.558 s+0.152 s4.01 MiB4.1 MiB+ 88.81 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.6%2,4461858
Sass5.9%1,1422212
LESS5.9%1,1372712
SVG2.7%51905
PO File2.2%4181411
Total 19,366 1,083 57

PHP Code Analysis | More results »

Lines of code 2,614
Total complexity 429
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