Password Protected 2.6.2

Does Password Protected work with WordPress 6.2.2 and PHP 8.1.12? 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: 96.96 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.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400,000+
WordPress.org page https://wordpress.org/plugins/password-protected/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

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=b669e6ed7f
Aspect after-activation
HTTP status 200
Load time 0.230 s
Memory usage 3.12 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.344 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Settings → Password Protected → Advanced

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

Settings → Password Protected → Help

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

Settings → Password Protected → Get Pro

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

Password Protected

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

Password Protected → Advanced

Page screenshot: Password Protected → 
								Advanced
URL /wp-admin/admin.php?page=password-protected&tab=advanced
Aspect menu-item-tab
HTTP status 200
Load time 0.209 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Password Protected → Help

Page screenshot: Password Protected → 
								Help
URL /wp-admin/admin.php?page=password-protected&tab=help
Aspect menu-item-tab
HTTP status 200
Load time 0.196 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Password Protected → Get Pro

Page screenshot: Password Protected → 
								Get Pro
URL /wp-admin/admin.php?page=password-protected&tab=getpro
Aspect menu-item-tab
HTTP status 200
Load time 0.184 s
Memory usage 3.09 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.251 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.294 s0.271 s-0.023 s3.07 MiB3.18 MiB+ 106.26 KiB
/wp-admin/edit.php0.206 s0.183 s-0.023 s3.1 MiB3.2 MiB+ 106.67 KiB
/wp-admin/post-new.php0.770 s0.741 s-0.029 s5.02 MiB5.13 MiB+ 109.11 KiB
/wp-admin/upload.php0.564 s0.372 s-0.192 s3.02 MiB3.1 MiB+ 89.36 KiB
/wp-admin/options-writing.php0.177 s0.154 s-0.023 s3.01 MiB3.09 MiB+ 76.05 KiB
/wp-admin/media-new.php0.351 s0.234 s-0.117 s2.99 MiB3.09 MiB+ 101.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.183 s-0.011 s3.01 MiB3.11 MiB+ 105.89 KiB
/wp-admin/post-new.php?post_type=page0.599 s0.604 s+0.005 s5.01 MiB5.12 MiB+ 104.7 KiB
/wp-admin/options-discussion.php0.209 s0.236 s+0.027 s3 MiB3.09 MiB+ 89.79 KiB
/wp-admin/edit-comments.php0.215 s0.199 s-0.016 s3.03 MiB3.11 MiB+ 88.16 KiB
/0.315 s0.175 s-0.140 s2.97 MiB3.06 MiB+ 89.02 KiB
Average 0.354 s0.305 s-0.049 s3.38 MiB3.48 MiB+ 96.96 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
PHP
Language % Lines of code Comment lines Files
PO File72.1%5,2421,86548
PHP21.9%1,5926926
Markdown4.3%31602
CSS1.2%8402
JavaScript0.5%3941
Bourne Shell0.0%221
Total 7,275 2,563 60

PHP Code Analysis | More results »

Lines of code 1,614
Total complexity 303
Median class complexity 62.0
Median method complexity 1.0
Most complex class Password_Protected
Most complex function Password_Protected_reCAPTCHA::verify_recaptcha()
Classes 5
Methods 110
Functions 2

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 1

PHP Error Log

The log file is empty.

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