Password Protected 2.7.8

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

Summary

Errors
No PHP errors, warnings or notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 312.07 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.055 seconds
The average page load time increased by this amount after activating the plugin.

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

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

Password Protected ‹ Test site — WordPress

Page screenshot: Password Protected ‹ Test site — WordPress
URL /wp-admin/admin.php?page=password-protected
Requested URL /wp-admin/plugins.php?action=activate&plugin=password-protected%2Fpassword-protected.php&plugin_status=all&paged=1&s&_wpnonce=c12ebc690a
Aspect after-activation
HTTP status 200
Load time 0.623 s
Memory usage 3.96 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.239 s
Memory usage 3.83 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.182 s
Memory usage 3.8 MiB
JS errors None
Resource errors None

Password Protected → Get Pro Now

Page screenshot: Password Protected →  Get Pro Now
URL https://passwordprotectedwp.com/pricing/?utm_source=Plugin&utm_medium=Submenu
Requested URL /wp-admin/admin.php?page=password-protected-get-pro
Aspect menu-item
HTTP status 200
Load time 12.304 s
Memory usage N/A
JS errors
[
    {
        "message": "SyntaxError: missing ) after argument list",
        "trace": null,
        "code": null
    }
]
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.514 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.346 s0.569 s+0.223 s3.51 MiB3.88 MiB+ 378.61 KiB
/wp-admin/edit.php0.205 s0.276 s+0.071 s3.57 MiB3.9 MiB+ 338.74 KiB
/wp-admin/post-new.php0.843 s1.124 s+0.281 s6.06 MiB6.43 MiB+ 381.12 KiB
/wp-admin/upload.php0.769 s0.534 s-0.235 s3.52 MiB3.82 MiB+ 301.84 KiB
/wp-admin/options-writing.php0.239 s0.250 s+0.011 s3.5 MiB3.8 MiB+ 305.93 KiB
/wp-admin/media-new.php0.278 s0.304 s+0.026 s3.49 MiB3.8 MiB+ 314.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.242 s+0.052 s3.5 MiB3.82 MiB+ 319.77 KiB
/wp-admin/post-new.php?post_type=page0.804 s1.072 s+0.268 s6.05 MiB6.42 MiB+ 377.14 KiB
/wp-admin/options-discussion.php0.512 s0.553 s+0.041 s3.5 MiB3.8 MiB+ 302.43 KiB
/wp-admin/edit-comments.php0.254 s0.225 s-0.029 s3.52 MiB3.82 MiB+ 301.93 KiB
/0.336 s0.228 s-0.108 s3.43 MiB3.54 MiB+ 111.18 KiB
Average 0.434 s0.489 s+0.055 s3.97 MiB4.27 MiB+ 312.07 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.

PHP
PO File
Language % Lines of code Comment lines Files
PHP82.8%37,35618,461137
PO File11.6%5,2421,86548
SVG2.4%1,07944
CSS1.5%6931415
Markdown1.3%56603
JavaScript0.3%148326
JSON0.0%301
Bourne Shell0.0%221
Total 45,089 20,378 215

PHP Code Analysis | More results »

Lines of code 27,621
Total complexity 6,590
Median class complexity 18.5
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 62
Methods 1,460
Functions 109

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.

Database Tables 1

Options wp_options 6

PHP Error Log

The log file is empty.

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