Block Visibility 1.9.0

Does Block Visibility 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: 23.07 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.7.2
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=e54e7e7be7
Aspect after-activation
HTTP status 200
Load time 0.240 s
Memory usage 2.81 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 0.752 s
Memory usage 2.77 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.320 s
Memory usage 2.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.283 s0.289 s+0.006 s2.82 MiB2.85 MiB+ 26.86 KiB
/wp-admin/edit.php0.186 s0.354 s+0.168 s2.87 MiB2.89 MiB+ 26.86 KiB
/wp-admin/post-new.php0.961 s0.823 s-0.138 s5.04 MiB5.06 MiB+ 23.7 KiB
/wp-admin/upload.php0.487 s0.264 s-0.223 s2.7 MiB2.72 MiB+ 25.82 KiB
/wp-admin/options-writing.php0.240 s0.184 s-0.056 s2.71 MiB2.7 MiB- 6.2 KiB
/wp-admin/media-new.php0.229 s0.167 s-0.062 s2.67 MiB2.7 MiB+ 25.99 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.200 s-0.010 s2.77 MiB2.8 MiB+ 26.9 KiB
/wp-admin/post-new.php?post_type=page1.177 s0.815 s-0.362 s5.01 MiB5.04 MiB+ 31.74 KiB
/wp-admin/options-discussion.php0.326 s0.290 s-0.036 s2.67 MiB2.7 MiB+ 26.3 KiB
/wp-admin/edit-comments.php0.250 s0.227 s-0.023 s2.78 MiB2.8 MiB+ 25.8 KiB
/0.311 s0.282 s-0.029 s2.65 MiB2.67 MiB+ 19.95 KiB
Average 0.424 s0.354 s-0.070 s3.15 MiB3.18 MiB+ 23.07 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,83682422
Total 1,836 824 22

PHP Code Analysis | More results »

Lines of code 1,827
Total complexity 359
Median class complexity 22.0
Median method complexity 2.0
Most complex class Block_Visibility
Most complex function acf_test()
Classes 3
Methods 23
Functions 36

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