Password Protected 2.4

Does Password Protected work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .


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

Memory usage: 70.22 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.

WordPress version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 400,000+ page

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=password-protected%2Fpassword-protected.php&plugin_status=all&paged=1&s&_wpnonce=fad0e6ccfd
Aspect after-activation
HTTP status 200
Load time 0.395 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Settings → Password Protected

Page screenshot: Settings → Password Protected
URL /wp-admin/options-general.php?page=password-protected
Aspect menu-item
HTTP status 200
Load time 0.202 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
Aspect front-page
HTTP status 200
Load time 0.383 s
Memory usage 2.94 MiB
JS errors None
Resource errors None


URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.904 s0.440 s-0.464 s3.08 MiB3.16 MiB+ 74.26 KiB
/wp-admin/edit.php0.515 s0.339 s-0.176 s3.11 MiB3.25 MiB+ 138.99 KiB
/wp-admin/post-new.php1.506 s2.346 s+0.840 s5.27 MiB5.34 MiB+ 77.73 KiB
/wp-admin/upload.php0.773 s0.638 s-0.135 s3.03 MiB3.1 MiB+ 73.95 KiB
/wp-admin/options-writing.php0.307 s0.156 s-0.151 s3.02 MiB3.08 MiB+ 57.87 KiB
/wp-admin/media-new.php0.372 s0.301 s-0.071 s3.01 MiB3.08 MiB+ 74.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.248 s0.211 s-0.037 s3.04 MiB3.11 MiB+ 74.2 KiB
/wp-admin/post-new.php?post_type=page2.513 s2.050 s-0.463 s5.26 MiB5.33 MiB+ 73.32 KiB
/wp-admin/options-discussion.php0.423 s0.442 s+0.019 s3 MiB3.08 MiB+ 74.38 KiB
/wp-admin/edit-comments.php0.369 s0.361 s-0.008 s3.04 MiB3.11 MiB+ 72.71 KiB
/0.692 s0.523 s-0.169 s2.96 MiB2.94 MiB- 19.09 KiB
Average 0.784 s0.710 s-0.074 s3.44 MiB3.51 MiB+ 70.22 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
Language % Lines of code Comment lines Files
PO File82.1%5,2421,86548
Bourne Shell0.0%221
Total 6,385 2,363 56

PHP Code Analysis | More results »

Lines of code 860
Total complexity 192
Median class complexity 32.5
Median method complexity 1.5
Most complex class Password_Protected
Most complex function Password_Protected_Admin::password_protected_admin_notices()
Classes 4
Methods 76
Functions 2


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 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Password Protected Admin Menus