WP Hardening 1.2

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

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

Environment
WordPress version5.7.2
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=ff64953207
Aspect after-activation
HTTP status 200
Load time 1.027 s
Memory usage 2.85 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.303 s
Memory usage 2.78 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 2.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.399 s
Memory usage 2.72 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.310 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.267 s0.551 s+0.284 s2.82 MiB2.91 MiB+ 89.12 KiB
/wp-admin/edit.php0.184 s0.240 s+0.056 s2.86 MiB2.94 MiB+ 76.46 KiB
/wp-admin/post-new.php0.891 s2.064 s+1.173 s5.02 MiB5.17 MiB+ 149 KiB
/wp-admin/upload.php0.494 s0.433 s-0.061 s2.7 MiB2.77 MiB+ 74.43 KiB
/wp-admin/options-writing.php0.250 s0.268 s+0.018 s2.71 MiB2.75 MiB+ 43.97 KiB
/wp-admin/media-new.php0.226 s0.223 s-0.003 s2.67 MiB2.75 MiB+ 75.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.237 s+0.048 s2.77 MiB2.85 MiB+ 77.7 KiB
/wp-admin/post-new.php?post_type=page1.189 s1.171 s-0.018 s5.01 MiB5.09 MiB+ 80.59 KiB
/wp-admin/options-discussion.php0.323 s0.316 s-0.007 s2.68 MiB2.75 MiB+ 76.48 KiB
/wp-admin/edit-comments.php0.221 s0.372 s+0.151 s2.78 MiB2.85 MiB+ 78 KiB
/0.238 s0.294 s+0.056 s2.65 MiB2.72 MiB+ 67.41 KiB
Average 0.407 s0.561 s+0.154 s3.15 MiB3.23 MiB+ 80.79 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,4471858
Sass5.9%1,1422212
LESS5.9%1,1372712
SVG2.7%51905
PO File2.2%4181411
Total 19,367 1,083 57

PHP Code Analysis | More results »

Lines of code 2,615
Total complexity 430
Median class complexity 29.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