Content Locker 1.1.10

Does Content Locker work with WordPress 6.8.2 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.048 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 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=6c16dadcb1
Aspect after-activation
HTTP status 200
Load time 1.747 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.250 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.599 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.825 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.278 s
Memory usage 3.92 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.708 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 0.993 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.483 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.313 s0.411 s+0.098 s3.51 MiB3.89 MiB+ 395.59 KiB
/wp-admin/edit.php0.219 s0.292 s+0.073 s3.57 MiB3.98 MiB+ 418.25 KiB
/wp-admin/post-new.php0.861 s1.209 s+0.348 s6.06 MiB6.5 MiB+ 447.79 KiB
/wp-admin/upload.php0.817 s0.587 s-0.230 s3.52 MiB3.89 MiB+ 372.77 KiB
/wp-admin/options-writing.php0.232 s0.265 s+0.033 s3.5 MiB3.87 MiB+ 376.76 KiB
/wp-admin/media-new.php0.275 s0.319 s+0.044 s3.49 MiB3.87 MiB+ 384.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.260 s+0.075 s3.5 MiB3.88 MiB+ 390.44 KiB
/wp-admin/post-new.php?post_type=page0.798 s0.738 s-0.060 s6.05 MiB6.48 MiB+ 443.63 KiB
/wp-admin/options-discussion.php0.458 s0.648 s+0.190 s3.5 MiB3.87 MiB+ 373.88 KiB
/wp-admin/edit-comments.php0.236 s0.273 s+0.037 s3.52 MiB3.89 MiB+ 372.76 KiB
/0.290 s0.207 s-0.083 s3.43 MiB3.51 MiB+ 82.97 KiB
Average 0.426 s0.474 s+0.048 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

[18-Jul-2025 04:21:38 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
[18-Jul-2025 04:21:43 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