Does Block Visibility work with WordPress 5.6.1 and PHP 7.4.8? A smoke test was performed on .
1 | PHP notices |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 25.6 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.
WordPress version | 5.6.1 |
---|---|
PHP version | 7.4.8 |
MySQL version | 8.0.21 |
PHP memory limit | 256M |
Last updated | |
---|---|
Active installs | 20,000+ |
WordPress.org page | https://wordpress.org/plugins/block-visibility/ |
Badges |
Get badge code |
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=16c362338b |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.439 s |
Memory usage | 2.77 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=block-visibility-settings |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.891 s |
Memory usage | 2.71 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.277 s |
Memory usage | 2.63 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.582 s | 0.312 s | -0.270 s | 2.79 MiB | 2.82 MiB | + 23.32 KiB |
/wp-admin/edit.php | 0.257 s | 0.235 s | -0.022 s | 2.84 MiB | 2.86 MiB | + 23.32 KiB |
/wp-admin/post-new.php | 1.130 s | 0.867 s | -0.263 s | 4.93 MiB | 4.96 MiB | + 28.73 KiB |
/wp-admin/upload.php | 0.443 s | 0.470 s | +0.027 s | 2.67 MiB | 2.69 MiB | + 22.23 KiB |
/wp-admin/options-writing.php | 0.303 s | 0.227 s | -0.076 s | 2.68 MiB | 2.67 MiB | - 9.8 KiB |
/wp-admin/media-new.php | 0.212 s | 0.246 s | +0.034 s | 2.65 MiB | 2.67 MiB | + 22.4 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.181 s | 0.207 s | +0.026 s | 2.68 MiB | 2.77 MiB | + 87.3 KiB |
/wp-admin/post-new.php?post_type=page | 0.660 s | 1.203 s | +0.543 s | 4.92 MiB | 4.95 MiB | + 24.36 KiB |
/wp-admin/options-discussion.php | 0.346 s | 0.355 s | +0.009 s | 2.65 MiB | 2.67 MiB | + 22.71 KiB |
/wp-admin/edit-comments.php | 0.312 s | 0.260 s | -0.052 s | 2.75 MiB | 2.77 MiB | + 22.21 KiB |
/ | 0.412 s | 0.275 s | -0.137 s | 2.61 MiB | 2.63 MiB | + 14.87 KiB |
Average | 0.440 s | 0.423 s | -0.016 s | 3.11 MiB | 3.13 MiB | + 25.6 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
PHP | 100.0% | 1,126 | 678 | 20 | |
Total | 1,126 | 678 | 20 |
Lines of code | 1,115 |
---|---|
Total complexity | 180 |
Median class complexity | 9.0 |
Median method complexity | 2.0 |
Most complex class | Block_Visibility |
Most complex function | visibility_by_role_test() |
Classes | 3 |
---|---|
Methods | 19 |
Functions | 30 |
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.
[08-Feb-2021 06:32:12 UTC] PHP Notice: Trying to get property 'roles' of non-object in /wp-content/plugins/block-visibility/includes/utils/user-functions.php on line 73