Simple Restrict 1.2.8

Does Simple Restrict work with WordPress 6.7.1 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: 59.36 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.7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 90,000+
WordPress.org page https://wordpress.org/plugins/download-monitor/
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=download-monitor%2Fsimple-restrict.php&plugin_status=all&paged=1&s&_wpnonce=33d79c87e9
Aspect after-activation
HTTP status 200
Load time 0.241 s
Memory usage 3.55 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.184 s
Memory usage 3.53 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.627 s
Memory usage 3.54 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.240 s
Memory usage 3.45 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.937 s
Memory usage 6.05 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.412 s0.267 s-0.145 s3.48 MiB3.54 MiB+ 57.13 KiB
/wp-admin/edit.php0.205 s0.205 s+0.000 s3.54 MiB3.6 MiB+ 56.32 KiB
/wp-admin/post-new.php0.811 s1.034 s+0.223 s5.92 MiB6.05 MiB+ 126.7 KiB
/wp-admin/upload.php0.728 s0.502 s-0.226 s3.49 MiB3.54 MiB+ 46.01 KiB
/wp-admin/options-writing.php0.206 s0.180 s-0.026 s3.47 MiB3.52 MiB+ 50.01 KiB
/wp-admin/media-new.php0.242 s0.199 s-0.043 s3.46 MiB3.52 MiB+ 58.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.172 s0.166 s-0.006 s3.48 MiB3.53 MiB+ 61.03 KiB
/wp-admin/post-new.php?post_type=page1.124 s0.788 s-0.336 s5.92 MiB6.04 MiB+ 128.71 KiB
/wp-admin/options-discussion.php0.294 s0.224 s-0.070 s3.47 MiB3.52 MiB+ 46.51 KiB
/wp-admin/edit-comments.php0.244 s0.202 s-0.042 s3.49 MiB3.54 MiB+ 46.01 KiB
/0.486 s0.221 s-0.265 s3.48 MiB3.45 MiB- 23.7 KiB
Average 0.448 s0.363 s-0.085 s3.93 MiB3.99 MiB+ 59.36 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
PHP96.1%52264912
CSS2.8%1582
JavaScript1.1%6542
Total 543 711 16

PHP Code Analysis | More results »

Lines of code 511
Total complexity 101
Median class complexity 7.0
Median method complexity 1.0
Most complex class Simple_Restrict_Public
Most complex function Simple_Restrict_Public::restrict_content()
Classes 7
Methods 46
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 Download Monitor Admin Menus and More