Content Locker 1.1.10

Does Content Locker work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/content-locker/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

How to use? ‹ Test site — WordPress

Page screenshot: How to use? ‹ Test site — WordPress
URL /wp-admin/edit.php?post_type=content-locker&page=cl-help
Requested URL /wp-admin/plugins.php?action=activate&plugin=content-locker%2Fcontent-locker.php&plugin_status=all&paged=1&s&_wpnonce=424e65c3e5
Aspect after-activation
HTTP status 200
Load time 2.721 s
Memory usage 3.87 MiB
JS errors None
Resource errors None

Content Locker

Page screenshot: Content Locker
URL /wp-admin/edit.php?post_type=content-locker
Aspect menu-item
HTTP status 200
Load time 0.253 s
Memory usage 3.93 MiB
JS errors None
Resource errors None

Content Locker → + Social Locker

Page screenshot: Content Locker → + Social Locker
URL /wp-admin/post-new.php?post_type=content-locker&cl_item_type=social-locker
Aspect menu-item
HTTP status 200
Load time 0.544 s
Memory usage 4.4 MiB
JS errors None
Resource errors None

Content Locker → + Sign-In Locker

Page screenshot: Content Locker → + Sign-In Locker
URL /wp-admin/post-new.php?post_type=content-locker&cl_item_type=signin-locker
Aspect menu-item
HTTP status 200
Load time 0.666 s
Memory usage 4.45 MiB
JS errors None
Resource errors None

Content Locker → Leads (0)

Page screenshot: Content Locker → Leads (0)
URL /wp-admin/edit.php?post_type=cl-lead
Aspect menu-item
HTTP status 200
Load time 0.316 s
Memory usage 3.93 MiB
JS errors None
Resource errors None

Content Locker → Settings

Page screenshot: Content Locker → Settings
URL /wp-admin/edit.php?post_type=content-locker&page=cl-settings
Aspect menu-item
HTTP status 200
Load time 0.812 s
Memory usage 4.51 MiB
JS errors None
Resource errors None

Content Locker → How to use?

Page screenshot: Content Locker → How to use?
URL /wp-admin/edit.php?post_type=content-locker&page=cl-help
Aspect menu-item
HTTP status 200
Load time 1.060 s
Memory usage 3.87 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.448 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.385 s0.431 s+0.046 s3.51 MiB3.89 MiB+ 395.59 KiB
/wp-admin/edit.php0.229 s0.253 s+0.024 s3.57 MiB3.98 MiB+ 418.25 KiB
/wp-admin/post-new.php0.910 s0.887 s-0.023 s6.06 MiB6.5 MiB+ 447.79 KiB
/wp-admin/upload.php0.738 s0.818 s+0.080 s3.52 MiB3.89 MiB+ 372.77 KiB
/wp-admin/options-writing.php0.192 s0.254 s+0.062 s3.5 MiB3.87 MiB+ 376.76 KiB
/wp-admin/media-new.php0.252 s0.307 s+0.055 s3.49 MiB3.87 MiB+ 384.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.163 s0.258 s+0.095 s3.5 MiB3.89 MiB+ 390.44 KiB
/wp-admin/post-new.php?post_type=page0.671 s0.722 s+0.051 s6.05 MiB6.48 MiB+ 443.63 KiB
/wp-admin/options-discussion.php0.259 s0.555 s+0.296 s3.5 MiB3.87 MiB+ 373.88 KiB
/wp-admin/edit-comments.php0.203 s0.456 s+0.253 s3.52 MiB3.89 MiB+ 372.76 KiB
/0.312 s0.187 s-0.125 s3.43 MiB3.51 MiB+ 82.97 KiB
Average 0.392 s0.466 s+0.074 s3.97 MiB4.33 MiB+ 369.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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File51.1%31,57617,868120
PHP33.0%20,38612,660251
CSS7.5%4,6521,15910
JavaScript3.3%2,0445559
Sass2.2%1,3742516
JSON2.1%1,310015
Markdown0.7%461014
make0.0%2201
YAML0.0%401
Total 61,829 32,267 437

PHP Code Analysis | More results »

Lines of code 18,606
Total complexity 4,020
Median class complexity 6.0
Median method complexity 2.0
Most complex class CMB2
Most complex function Mobile_Detect::mobileGrade()
Classes 194
Methods 1,279
Functions 114

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 3

Custom Post Types 2

ID Name
content-lockerLockers
cl-leadLeads

Meta Boxes

{
    "content-locker": {
        "cl-basic-options": {
            "title": "Basic Options",
            "context": "normal"
        },
        "cl-visibility-options": {
            "title": "Visibility Options",
            "context": "normal"
        },
        "cl-advance-options": {
            "title": "Advance Options",
            "context": "normal"
        },
        "cl-manual-locking": {
            "title": "Manual Locking (recommended)",
            "context": "side"
        }
    }
}

PHP Error Log 2 lines

[02-May-2025 23:14:39 UTC] PHP Deprecated:  Optional parameter $type declared before required parameter $field_id is implicitly treated as a required parameter in /wp-content/plugins/content-locker/includes/lib/CMB2/includes/rest-api/CMB2_REST.php on line 693
[02-May-2025 23:14:44 UTC] PHP Deprecated:  Optional parameter $args declared before required parameter $i is implicitly treated as a required parameter in /wp-content/plugins/content-locker/includes/lib/CMB2/includes/types/CMB2_Type_Multi_Base.php on line 34
See also: All tests for this plugin, How to Hide Content Locker Admin Menus and Meta Boxes