NutsForPress Restricted Contents 1.1.3

Does "NutsForPress Restricted Contents" work with WordPress 6.0.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.49 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 version6.0.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=a47e387641
Aspect after-activation
HTTP status 200
Load time 0.541 s
Memory usage 3.72 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.151 s
Memory usage 3.62 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.191 s
Memory usage 3.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.206 s
Memory usage 3.57 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.982 s
Memory usage 5.59 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 1.061 s
Memory usage 5.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.368 s0.297 s-0.071 s3.72 MiB3.75 MiB+ 22.41 KiB
/wp-admin/edit.php0.247 s0.198 s-0.049 s3.76 MiB3.78 MiB+ 28.55 KiB
/wp-admin/post-new.php1.206 s1.239 s+0.033 s5.55 MiB5.59 MiB+ 39.64 KiB
/wp-admin/upload.php0.453 s0.370 s-0.083 s3.69 MiB3.71 MiB+ 26.77 KiB
/wp-admin/options-writing.php0.169 s0.157 s-0.012 s3.62 MiB3.69 MiB+ 71.93 KiB
/wp-admin/media-new.php0.551 s0.225 s-0.326 s3.66 MiB3.69 MiB+ 27.26 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.213 s+0.012 s3.69 MiB3.72 MiB+ 28.79 KiB
/wp-admin/post-new.php?post_type=page0.941 s0.952 s+0.011 s5.54 MiB5.57 MiB+ 31.23 KiB
/wp-admin/options-discussion.php0.218 s0.331 s+0.113 s3.6 MiB3.63 MiB+ 28.82 KiB
/wp-admin/edit-comments.php0.217 s0.255 s+0.038 s3.7 MiB3.72 MiB+ 27.53 KiB
/0.274 s0.249 s-0.025 s3.6 MiB3.57 MiB- 30.57 KiB
Average 0.440 s0.408 s-0.033 s4.01 MiB4.04 MiB+ 27.49 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
PHP82.1%1,70727919
JavaScript6.5%136502
PO File6.0%1257262
CSS5.4%11211
Total 2,080 1,056 24

PHP Code Analysis | More results »

Lines of code 1,718
Total complexity 280
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