Content Control 1.1.7

Does Content Control work with WordPress 5.7.2 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: 45.58 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.7.2
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=4207491a1a
Aspect after-activation
HTTP status 200
Load time 0.338 s
Memory usage 2.89 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.533 s
Memory usage 2.94 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.784 s
Memory usage 2.79 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.313 s
Memory usage 2.68 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.265 s0.228 s-0.037 s2.82 MiB2.87 MiB+ 49.04 KiB
/wp-admin/edit.php0.222 s0.198 s-0.024 s2.86 MiB2.91 MiB+ 49.01 KiB
/wp-admin/post-new.php1.341 s0.951 s-0.390 s5.02 MiB5.08 MiB+ 60.95 KiB
/wp-admin/upload.php0.661 s0.427 s-0.234 s2.7 MiB2.74 MiB+ 48.51 KiB
/wp-admin/options-writing.php0.218 s0.161 s-0.057 s2.71 MiB2.73 MiB+ 16.42 KiB
/wp-admin/media-new.php0.203 s0.173 s-0.030 s2.67 MiB2.72 MiB+ 48.68 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.177 s-0.024 s2.77 MiB2.82 MiB+ 49.55 KiB
/wp-admin/post-new.php?post_type=page1.059 s0.623 s-0.436 s5.01 MiB5.06 MiB+ 56.54 KiB
/wp-admin/options-discussion.php0.278 s0.196 s-0.082 s2.67 MiB2.72 MiB+ 48.93 KiB
/wp-admin/edit-comments.php0.221 s0.206 s-0.015 s2.78 MiB2.82 MiB+ 47.89 KiB
/0.320 s0.211 s-0.109 s2.65 MiB2.68 MiB+ 25.88 KiB
Average 0.454 s0.323 s-0.131 s3.15 MiB3.2 MiB+ 45.58 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,88082625
CSS9.6%1,101112
Sass5.8%666237
Markdown0.4%4101
Total 11,504 1,381 37

PHP Code Analysis | More results »

Lines of code 2,950
Total complexity 556
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