Content Control 2.5.0

Does Content Control work with WordPress 6.7.2 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: 378.31 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.7.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 40,000+
WordPress.org page https://wordpress.org/plugins/content-control/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=content-control%2Fcontent-control.php&plugin_status=all&paged=1&s&_wpnonce=62e96f57bc
Aspect after-activation
HTTP status 200
Load time 0.592 s
Memory usage 3.91 MiB
JS errors None
Resource errors None

Settings → Content Control

Page screenshot: Settings → Content Control
URL /wp-admin/options-general.php?page=content-control-settings
Aspect menu-item
HTTP status 200
Load time 0.709 s
Memory usage 3.86 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.253 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.347 s0.295 s-0.052 s3.48 MiB3.85 MiB+ 373.95 KiB
/wp-admin/edit.php0.223 s0.231 s+0.008 s3.54 MiB3.94 MiB+ 401.79 KiB
/wp-admin/post-new.php0.901 s0.771 s-0.130 s5.93 MiB6.39 MiB+ 479.88 KiB
/wp-admin/upload.php0.617 s0.551 s-0.066 s3.5 MiB3.84 MiB+ 357.45 KiB
/wp-admin/options-writing.php0.236 s0.223 s-0.013 s3.47 MiB3.82 MiB+ 355.31 KiB
/wp-admin/media-new.php0.295 s0.272 s-0.023 s3.46 MiB3.82 MiB+ 363.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.211 s+0.013 s3.48 MiB3.85 MiB+ 379.12 KiB
/wp-admin/post-new.php?post_type=page0.686 s0.704 s+0.018 s5.92 MiB6.38 MiB+ 469.83 KiB
/wp-admin/options-discussion.php0.317 s0.293 s-0.024 s3.48 MiB3.82 MiB+ 351.81 KiB
/wp-admin/edit-comments.php0.227 s0.472 s+0.245 s3.5 MiB3.84 MiB+ 356.81 KiB
/0.356 s0.272 s-0.084 s3.47 MiB3.74 MiB+ 271.98 KiB
Average 0.400 s0.390 s-0.010 s3.93 MiB4.3 MiB+ 378.31 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
Language % Lines of code Comment lines Files
PHP93.9%12,9299,373132
Sass4.0%55026
SVG1.0%14406
JavaScript1.0%139221
CSS0.0%201
Total 13,764 9,397 146

PHP Code Analysis | More results »

Lines of code 8,560
Total complexity 1,882
Median class complexity 13.0
Median method complexity 2.0
Most complex class ContentControl\Plugin\Connect
Most complex function ContentControl\RestAPI\ObjectSearch::object_search()
Classes 70
Methods 435
Functions 131

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 7

Custom Post Types 1

ID Name
cc_restrictionRestrictions

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Content Control" Admin Menu