Password Protected 2.5.1

Does Password Protected work with WordPress 6.0 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: 75.02 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 version6.0
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=5f117ca215
Aspect after-activation
HTTP status 200
Load time 0.248 s
Memory usage 3.76 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.159 s
Memory usage 3.73 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.311 s
Memory usage 3.57 MiB
JS errors None
Resource errors None


URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.362 s0.246 s-0.116 s3.72 MiB3.79 MiB+ 74.26 KiB
/wp-admin/edit.php0.177 s0.197 s+0.020 s3.75 MiB3.82 MiB+ 74.28 KiB
/wp-admin/post-new.php0.764 s0.922 s+0.158 s5.53 MiB5.61 MiB+ 81.11 KiB
/wp-admin/upload.php0.381 s0.363 s-0.018 s3.68 MiB3.75 MiB+ 73.09 KiB
/wp-admin/options-writing.php0.286 s0.148 s-0.138 s3.61 MiB3.73 MiB+ 117.34 KiB
/wp-admin/media-new.php0.304 s0.187 s-0.117 s3.66 MiB3.73 MiB+ 73.26 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.183 s-0.005 s3.68 MiB3.76 MiB+ 74.2 KiB
/wp-admin/post-new.php?post_type=page0.684 s0.619 s-0.065 s5.53 MiB5.6 MiB+ 72.7 KiB
/wp-admin/options-discussion.php0.250 s0.332 s+0.082 s3.59 MiB3.73 MiB+ 137.51 KiB
/wp-admin/edit-comments.php0.365 s0.233 s-0.132 s3.69 MiB3.76 MiB+ 72.71 KiB
/0.278 s0.233 s-0.045 s3.6 MiB3.57 MiB- 25.26 KiB
Average 0.367 s0.333 s-0.034 s4 MiB4.08 MiB+ 75.02 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 File81.9%5,2421,86548
Bourne Shell0.0%221
Total 6,399 2,362 56

PHP Code Analysis | More results »

Lines of code 865
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