Content Control 1.1.8

Does Content Control work with WordPress 5.8.1 and PHP 7.4.8? 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: 43.54 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 version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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 4

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=d4ff382632
Aspect after-activation
HTTP status 200
Load time 0.422 s
Memory usage 3.2 MiB
JS errors None
Resource errors None

Settings → Content Control

Page screenshot: Settings → Content Control
URL /wp-admin/options-general.php?page=jp-cc-settings
Aspect menu-item
HTTP status 200
Load time 0.488 s
Memory usage 3.25 MiB
JS errors None
Resource errors None

Settings → Content Control → General

Page screenshot: Settings → Content Control → General
URL /wp-admin/options-general.php?page=jp-cc-settings&tab=general
Aspect menu-item-tab
HTTP status 200
Load time 0.682 s
Memory usage 3.12 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.213 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.328 s0.271 s-0.057 s3.08 MiB3.13 MiB+ 45.04 KiB
/wp-admin/edit.php0.176 s0.189 s+0.013 s3.11 MiB3.22 MiB+ 109.01 KiB
/wp-admin/post-new.php1.065 s1.090 s+0.025 s5.27 MiB5.32 MiB+ 49.58 KiB
/wp-admin/upload.php0.566 s0.537 s-0.029 s3.03 MiB3.07 MiB+ 44.51 KiB
/wp-admin/options-writing.php0.167 s0.189 s+0.022 s3.02 MiB3.05 MiB+ 28.42 KiB
/wp-admin/media-new.php0.260 s0.196 s-0.064 s3.01 MiB3.05 MiB+ 44.68 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.179 s-0.020 s3.04 MiB3.08 MiB+ 45.55 KiB
/wp-admin/post-new.php?post_type=page0.942 s1.044 s+0.102 s5.26 MiB5.3 MiB+ 45.16 KiB
/wp-admin/options-discussion.php0.244 s0.295 s+0.051 s3 MiB3.05 MiB+ 44.93 KiB
/wp-admin/edit-comments.php0.199 s0.219 s+0.020 s3.04 MiB3.09 MiB+ 43.89 KiB
/0.290 s0.205 s-0.085 s2.96 MiB2.94 MiB- 21.78 KiB
Average 0.403 s0.401 s-0.002 s3.44 MiB3.48 MiB+ 43.54 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.

JavaScript
PHP
CSS
Language % Lines of code Comment lines Files
JavaScript59.2%6,8165212
PHP25.0%2,88182625
CSS9.6%1,101112
Sass5.8%666237
Markdown0.4%4101
Total 11,505 1,381 37

PHP Code Analysis | More results »

Lines of code 2,951
Total complexity 560
Median class complexity 11.5
Median method complexity 3.0
Most complex class JP\CC\Admin\Setting_Callbacks
Most complex function JP\CC\Condition_Callbacks::post_type()
Classes 24
Methods 137
Functions 3

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 2

PHP Error Log

The log file is empty.

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