Password Protected 2.6.1

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=fdd9a3df9c
Aspect after-activation
HTTP status 200
Load time 0.432 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.368 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.201 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.194 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.175 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.184 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.177 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.199 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.187 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.240 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.290 s0.244 s-0.046 s3.05 MiB3.15 MiB+ 105.57 KiB
/wp-admin/edit.php0.180 s0.182 s+0.002 s3.07 MiB3.18 MiB+ 106.62 KiB
/wp-admin/post-new.php0.805 s1.006 s+0.201 s4.97 MiB5.07 MiB+ 108.74 KiB
/wp-admin/upload.php0.527 s0.423 s-0.104 s2.99 MiB3.08 MiB+ 89.3 KiB
/wp-admin/options-writing.php0.147 s0.160 s+0.013 s2.99 MiB3.06 MiB+ 75.89 KiB
/wp-admin/media-new.php0.275 s0.264 s-0.011 s2.97 MiB3.07 MiB+ 101.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.191 s-0.008 s2.98 MiB3.08 MiB+ 105.84 KiB
/wp-admin/post-new.php?post_type=page0.624 s0.627 s+0.003 s4.96 MiB5.06 MiB+ 104.33 KiB
/wp-admin/options-discussion.php0.205 s0.199 s-0.006 s2.97 MiB3.06 MiB+ 89.73 KiB
/wp-admin/edit-comments.php0.180 s0.207 s+0.027 s3 MiB3.09 MiB+ 88.11 KiB
/0.283 s0.216 s-0.067 s2.94 MiB2.99 MiB+ 42.06 KiB
Average 0.338 s0.338 s+0.000 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