WP Hardening 1.2.2

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

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

Environment
WordPress version6.0
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=f4be2d349d
Aspect after-activation
HTTP status 200
Load time 1.036 s
Memory usage 3.77 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.412 s
Memory usage 3.76 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.280 s
Memory usage 3.74 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.543 s
Memory usage 3.62 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.346 s
Memory usage 3.81 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.407 s0.412 s+0.005 s3.72 MiB3.81 MiB+ 90.38 KiB
/wp-admin/edit.php0.191 s0.241 s+0.050 s3.75 MiB3.83 MiB+ 78.95 KiB
/wp-admin/post-new.php0.904 s1.988 s+1.084 s5.53 MiB5.61 MiB+ 84.16 KiB
/wp-admin/upload.php0.386 s0.539 s+0.153 s3.68 MiB3.76 MiB+ 78.84 KiB
/wp-admin/options-writing.php0.254 s0.365 s+0.111 s3.61 MiB3.73 MiB+ 122.21 KiB
/wp-admin/media-new.php0.377 s0.262 s-0.115 s3.66 MiB3.74 MiB+ 78.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.265 s+0.077 s3.68 MiB3.76 MiB+ 79.6 KiB
/wp-admin/post-new.php?post_type=page0.796 s1.032 s+0.236 s5.53 MiB5.6 MiB+ 75.75 KiB
/wp-admin/options-discussion.php0.252 s0.417 s+0.165 s3.59 MiB3.73 MiB+ 142.38 KiB
/wp-admin/edit-comments.php0.222 s0.305 s+0.083 s3.69 MiB3.77 MiB+ 79.85 KiB
/0.349 s0.288 s-0.061 s3.55 MiB3.62 MiB+ 74.41 KiB
Average 0.393 s0.556 s+0.163 s4 MiB4.09 MiB+ 89.57 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,4391858
Sass5.9%1,1422212
LESS5.9%1,1372712
SVG2.7%51905
PO File2.2%4181411
Total 19,359 1,083 57

PHP Code Analysis | More results »

Lines of code 2,607
Total complexity 428
Median class complexity 28.0
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