Restrict Content 2.2.9

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

Summary

Errors
390PHP 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.1
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=c486b53128
Aspect after-activation
HTTP status 200
Load time 0.612 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.166 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.255 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.503 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.175 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 1.031 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.635 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.304 s0.320 s+0.016 s3.08 MiB3.11 MiB+ 33.03 KiB
/wp-admin/edit.php0.188 s0.307 s+0.119 s3.11 MiB3.14 MiB+ 32.3 KiB
/wp-admin/post-new.php0.943 s0.925 s-0.018 s5.27 MiB5.31 MiB+ 45.36 KiB
/wp-admin/upload.php0.507 s0.339 s-0.168 s3.03 MiB3.06 MiB+ 31.77 KiB
/wp-admin/options-writing.php0.142 s0.161 s+0.019 s3.02 MiB3.04 MiB+ 15.74 KiB
/wp-admin/media-new.php0.252 s0.213 s-0.039 s3.01 MiB3.04 MiB+ 31.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.241 s0.225 s-0.016 s3.04 MiB3.07 MiB+ 32.84 KiB
/wp-admin/post-new.php?post_type=page0.990 s1.004 s+0.014 s5.26 MiB5.3 MiB+ 40.95 KiB
/wp-admin/options-discussion.php0.304 s0.258 s-0.046 s3 MiB3.03 MiB+ 32.25 KiB
/wp-admin/edit-comments.php0.213 s0.195 s-0.018 s3.04 MiB3.07 MiB+ 31.19 KiB
/0.294 s0.222 s-0.072 s2.91 MiB2.93 MiB+ 24.03 KiB
Average 0.398 s0.379 s-0.019 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 390 lines

[09-Sep-2021 17:19:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 37
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 41
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 21
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 25
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 29
[09-Sep-2021 17:19:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/restrict-content/restrictcontent.php on line 33

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