Simple Restrict 1.2.6

Does Simple Restrict work with WordPress 6.4.3 and PHP 8.1.12? 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: 51.93 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.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/simple-restrict/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=simple-restrict%2Fsimple-restrict.php&plugin_status=all&paged=1&s&_wpnonce=b63c842f48
Aspect after-activation
HTTP status 200
Load time 0.274 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Pages → Permissions

Page screenshot: Pages → Permissions
URL /wp-admin/edit-tags.php?taxonomy=simple-restrict-permission&post_type=page
Aspect menu-item
HTTP status 200
Load time 0.207 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Settings → Simple Restrict

Page screenshot: Settings → Simple Restrict
URL /wp-admin/options-general.php?page=simple_restrict_plugin
Aspect menu-item
HTTP status 200
Load time 0.601 s
Memory usage 3.42 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.223 s
Memory usage 3.35 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.634 s
Memory usage 5.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.363 s0.335 s-0.028 s3.38 MiB3.43 MiB+ 50.41 KiB
/wp-admin/edit.php0.229 s0.216 s-0.013 s3.41 MiB3.46 MiB+ 51.6 KiB
/wp-admin/post-new.php1.018 s0.660 s-0.358 s5.46 MiB5.55 MiB+ 96 KiB
/wp-admin/upload.php0.601 s0.457 s-0.144 s3.32 MiB3.36 MiB+ 36.02 KiB
/wp-admin/options-writing.php0.236 s0.214 s-0.022 s3.32 MiB3.34 MiB+ 25.84 KiB
/wp-admin/media-new.php0.341 s0.271 s-0.070 s3.3 MiB3.34 MiB+ 48.47 KiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.206 s-0.008 s3.31 MiB3.36 MiB+ 50.67 KiB
/wp-admin/post-new.php?post_type=page0.641 s0.600 s-0.041 s5.45 MiB5.55 MiB+ 95.98 KiB
/wp-admin/options-discussion.php0.251 s0.314 s+0.063 s3.3 MiB3.34 MiB+ 38.02 KiB
/wp-admin/edit-comments.php0.299 s0.242 s-0.057 s3.34 MiB3.37 MiB+ 35.7 KiB
/0.293 s0.203 s-0.090 s3.31 MiB3.35 MiB+ 42.5 KiB
Average 0.408 s0.338 s-0.070 s3.72 MiB3.77 MiB+ 51.93 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
PHP95.5%44262212
CSS3.2%1582
JavaScript1.3%6542
Total 463 684 16

PHP Code Analysis | More results »

Lines of code 431
Total complexity 76
Median class complexity 7.0
Median method complexity 1.0
Most complex class Simple_Restrict_Admin
Most complex function Simple_Restrict_Public::restrict_content()
Classes 7
Methods 43
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.

Meta Boxes

{
    "page": {
        "simple-restrict-permissiondiv": {
            "title": "Permissions",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Simple Restrict Admin Menus and Meta Boxes