Restrict Content 2.2.8-master-10c4823

Does Restrict Content work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
396PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 31.94 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
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/restrict-content/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

‹ Test site — WordPress

Page screenshot: ‹ Test site — WordPress
URL /wp-admin/admin.php?page=restrict-content-welcome
Requested URL /wp-admin/plugins.php?action=activate&plugin=restrict-content%2Frestrictcontent.php&plugin_status=all&paged=1&s&_wpnonce=1ff8c438f0
Aspect after-activation
HTTP status 200
Load time 0.641 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

Restrict

Page screenshot: Restrict
URL /wp-admin/admin.php?page=restrict-content-settings
Aspect menu-item
HTTP status 200
Load time 0.184 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

Restrict → Why go Pro

Page screenshot: Restrict → Why go Pro
URL /wp-admin/admin.php?page=rcp-why-go-pro
Aspect menu-item
HTTP status 200
Load time 0.266 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

Restrict → Help

Page screenshot: Restrict → Help
URL /wp-admin/admin.php?page=rcp-need-help
Aspect menu-item
HTTP status 200
Load time 0.502 s
Memory usage 3.04 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.218 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.774 s
Memory usage 5.31 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.896 s
Memory usage 5.3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.295 s0.276 s-0.019 s3.08 MiB3.12 MiB+ 33.03 KiB
/wp-admin/edit.php0.170 s0.192 s+0.022 s3.11 MiB3.14 MiB+ 32.3 KiB
/wp-admin/post-new.php0.933 s1.010 s+0.077 s5.27 MiB5.31 MiB+ 45.36 KiB
/wp-admin/upload.php0.690 s0.556 s-0.134 s3.03 MiB3.06 MiB+ 31.77 KiB
/wp-admin/options-writing.php0.145 s0.158 s+0.013 s3.02 MiB3.04 MiB+ 15.74 KiB
/wp-admin/media-new.php0.235 s0.234 s-0.001 s3.01 MiB3.04 MiB+ 31.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.182 s-0.007 s3.04 MiB3.07 MiB+ 32.84 KiB
/wp-admin/post-new.php?post_type=page0.755 s0.743 s-0.012 s5.26 MiB5.3 MiB+ 40.95 KiB
/wp-admin/options-discussion.php0.332 s0.303 s-0.029 s3 MiB3.04 MiB+ 32.25 KiB
/wp-admin/edit-comments.php0.208 s0.210 s+0.002 s3.04 MiB3.07 MiB+ 31.19 KiB
/0.355 s0.218 s-0.137 s2.91 MiB2.93 MiB+ 24.03 KiB
Average 0.392 s0.371 s-0.020 s3.43 MiB3.47 MiB+ 31.94 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
CSS
PO File
Language % Lines of code Comment lines Files
PHP54.2%1,53341115
CSS31.7%897164
PO File8.1%230861
SVG2.5%70015
Markdown2.2%6301
JavaScript1.3%3601
Total 2,829 513 37

PHP Code Analysis | More results »

Lines of code 1,563
Total complexity 268
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function rc_validate_user_data()
Classes 0
Methods 0
Functions 53

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

Meta Boxes

{
    "post": {
        "rcMetaBox": {
            "title": "Restrict this content",
            "context": "normal"
        }
    },
    "page": {
        "rcMetaBox": {
            "title": "Restrict this content",
            "context": "normal"
        }
    }
}

PHP Error Log 396 lines

[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[17-Aug-2021 18:48:08 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33

(+296 more lines)
See also: All tests for this plugin, How to Hide Restrict Content Admin Menus and Meta Boxes