NutsForPress Restricted Contents 1.1

Does "NutsForPress Restricted Contents" 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: 27.92 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.042 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/nutsforpress-restricted-contents/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=nutsforpress-restricted-contents%2Fnuts-for-press-restricted-contents.php&plugin_status=all&paged=1&s&_wpnonce=ab537f7324
Aspect after-activation
HTTP status 200
Load time 1.916 s
Memory usage 2.8 MiB
JS errors None
Resource errors None

NutsForPress

Page screenshot: NutsForPress
URL /wp-admin/admin.php?page=nfproot-settings
Aspect menu-item
HTTP status 200
Load time 0.149 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

NutsForPress → Restricted Contents

Page screenshot: NutsForPress → Restricted Contents
URL /wp-admin/admin.php?page=nfprct-settings
Aspect menu-item
HTTP status 200
Load time 0.141 s
Memory usage 2.89 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.288 s
Memory usage 2.67 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.220 s
Memory usage 5.08 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.730 s
Memory usage 5.05 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.269 s0.280 s+0.011 s2.82 MiB2.85 MiB+ 25.55 KiB
/wp-admin/edit.php0.174 s0.194 s+0.020 s2.86 MiB2.89 MiB+ 32.09 KiB
/wp-admin/post-new.php0.948 s1.379 s+0.431 s5.02 MiB5.08 MiB+ 55.09 KiB
/wp-admin/upload.php0.489 s0.584 s+0.095 s2.7 MiB2.72 MiB+ 27.16 KiB
/wp-admin/options-writing.php0.149 s0.173 s+0.024 s2.71 MiB2.7 MiB- 6.73 KiB
/wp-admin/media-new.php0.237 s0.206 s-0.031 s2.67 MiB2.7 MiB+ 27.96 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.210 s+0.017 s2.77 MiB2.8 MiB+ 29.18 KiB
/wp-admin/post-new.php?post_type=page1.204 s1.282 s+0.078 s5.01 MiB5.05 MiB+ 46.68 KiB
/wp-admin/options-discussion.php0.380 s0.293 s-0.087 s2.68 MiB2.7 MiB+ 27.96 KiB
/wp-admin/edit-comments.php0.287 s0.272 s-0.015 s2.78 MiB2.8 MiB+ 26.56 KiB
/0.294 s0.218 s-0.076 s2.65 MiB2.67 MiB+ 15.66 KiB
Average 0.420 s0.463 s+0.042 s3.15 MiB3.18 MiB+ 27.92 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
PHP81.9%1,69029519
JavaScript6.6%136502
PO File6.1%1257262
CSS5.4%11211
Total 2,063 1,072 24

PHP Code Analysis | More results »

Lines of code 1,701
Total complexity 275
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function nfproot_settings_structure()
Classes 0
Methods 0
Functions 40

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 1

Meta Boxes

{
    "post": {
        "nfprct-restricted": {
            "title": "Restricted Content",
            "context": "side"
        }
    },
    "page": {
        "nfprct-restricted": {
            "title": "Restricted Content",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide NutsForPress Restricted Contents Admin Menus and Meta Boxes