Password Protected 2.6.0

Does Password Protected work with WordPress 6.1.1 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: 92.52 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.1.1
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=cc85cf2ad3
Aspect after-activation
HTTP status 200
Load time 0.253 s
Memory usage 3.09 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.475 s
Memory usage 3.07 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.227 s
Memory usage 3.06 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.193 s
Memory usage 3.06 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.177 s
Memory usage 3.06 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.191 s
Memory usage 3.06 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.197 s
Memory usage 3.06 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.203 s
Memory usage 3.06 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.180 s
Memory usage 3.06 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.247 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.298 s0.262 s-0.036 s3.05 MiB3.15 MiB+ 105.57 KiB
/wp-admin/edit.php0.199 s0.193 s-0.006 s3.07 MiB3.18 MiB+ 106.62 KiB
/wp-admin/post-new.php0.830 s0.983 s+0.153 s4.97 MiB5.07 MiB+ 108.74 KiB
/wp-admin/upload.php0.552 s0.508 s-0.044 s2.99 MiB3.08 MiB+ 89.3 KiB
/wp-admin/options-writing.php0.151 s0.163 s+0.012 s2.99 MiB3.06 MiB+ 75.89 KiB
/wp-admin/media-new.php0.308 s0.244 s-0.064 s2.97 MiB3.07 MiB+ 101.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.169 s0.185 s+0.016 s2.98 MiB3.08 MiB+ 105.84 KiB
/wp-admin/post-new.php?post_type=page0.634 s0.647 s+0.013 s4.96 MiB5.06 MiB+ 104.33 KiB
/wp-admin/options-discussion.php0.212 s0.209 s-0.003 s2.97 MiB3.06 MiB+ 89.73 KiB
/wp-admin/edit-comments.php0.191 s0.221 s+0.030 s3 MiB3.09 MiB+ 88.11 KiB
/0.278 s0.223 s-0.055 s2.94 MiB2.99 MiB+ 42.06 KiB
Average 0.347 s0.349 s+0.001 s3.35 MiB3.44 MiB+ 92.52 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.2%5,2421,86548
PHP21.7%1,5756886
Markdown4.4%31602
CSS1.2%8402
JavaScript0.5%3941
Bourne Shell0.0%221
Total 7,258 2,559 60

PHP Code Analysis | More results »

Lines of code 1,597
Total complexity 295
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 109
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