Block Visibility 2.0.0

Does Block Visibility work with WordPress 5.8 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: 29.7 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
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/block-visibility/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=block-visibility%2Fblock-visibility.php&plugin_status=all&paged=1&s&_wpnonce=3e543b33d4
Aspect after-activation
HTTP status 200
Load time 0.273 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Settings → Block Visibility

Page screenshot: Settings → Block Visibility
URL /wp-admin/options-general.php?page=block-visibility-settings
Aspect menu-item
HTTP status 200
Load time 1.210 s
Memory usage 3.08 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.276 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.358 s0.262 s-0.096 s3.08 MiB3.11 MiB+ 28.27 KiB
/wp-admin/edit.php0.179 s0.203 s+0.024 s3.11 MiB3.2 MiB+ 92.27 KiB
/wp-admin/post-new.php1.299 s1.207 s-0.092 s5.27 MiB5.28 MiB+ 19.2 KiB
/wp-admin/upload.php0.553 s0.329 s-0.224 s3.03 MiB3.06 MiB+ 27.13 KiB
/wp-admin/options-writing.php0.176 s0.146 s-0.030 s3.02 MiB3.03 MiB+ 11.11 KiB
/wp-admin/media-new.php0.242 s0.183 s-0.059 s3.01 MiB3.03 MiB+ 27.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.246 s+0.049 s3.04 MiB3.07 MiB+ 28.21 KiB
/wp-admin/post-new.php?post_type=page1.145 s1.196 s+0.051 s5.26 MiB5.27 MiB+ 18.83 KiB
/wp-admin/options-discussion.php0.242 s0.328 s+0.086 s3 MiB3.03 MiB+ 27.62 KiB
/wp-admin/edit-comments.php0.226 s0.221 s-0.005 s3.04 MiB3.07 MiB+ 27.12 KiB
/0.367 s0.355 s-0.012 s2.91 MiB2.93 MiB+ 19.69 KiB
Average 0.453 s0.425 s-0.028 s3.43 MiB3.46 MiB+ 29.7 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
PHP100.0%1,91687722
Total 1,916 877 22

PHP Code Analysis | More results »

Lines of code 1,907
Total complexity 385
Median class complexity 22.0
Median method complexity 2.0
Most complex class Block_Visibility
Most complex function user_role_test()
Classes 3
Methods 23
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.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Block Visibility" Admin Menu