If Menu – Visibility control for Menus 0.16.1

Does "If Menu - Visibility control for menu items" work with WordPress 5.6 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 12.18 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.6
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 60,000+
WordPress.org page https://wordpress.org/plugins/if-menu/
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=if-menu%2Fif-menu.php&plugin_status=all&paged=1&s&_wpnonce=5e9f690da9
Aspect after-activation
HTTP status 200
Load time 0.224 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

Appearance → If Menu

Page screenshot: Appearance → If Menu
URL /wp-admin/themes.php?page=if-menu
Aspect menu-item
HTTP status 200
Load time 0.484 s
Memory usage 2.74 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.175 s
Memory usage 2.63 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.268 s0.257 s-0.011 s2.79 MiB2.81 MiB+ 17.7 KiB
/wp-admin/edit.php0.175 s0.188 s+0.013 s2.83 MiB2.85 MiB+ 17.7 KiB
/wp-admin/post-new.php0.850 s0.756 s-0.094 s4.93 MiB4.97 MiB+ 41.65 KiB
/wp-admin/upload.php0.521 s0.409 s-0.112 s2.67 MiB2.68 MiB+ 16.57 KiB
/wp-admin/options-writing.php0.223 s0.135 s-0.088 s2.68 MiB2.67 MiB- 15.45 KiB
/wp-admin/media-new.php0.213 s0.159 s-0.054 s2.64 MiB2.66 MiB+ 16.74 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.194 s+0.017 s2.68 MiB2.7 MiB+ 17.65 KiB
/wp-admin/post-new.php?post_type=page0.971 s0.541 s-0.430 s4.92 MiB4.95 MiB+ 29.23 KiB
/wp-admin/options-discussion.php0.286 s0.297 s+0.011 s2.65 MiB2.66 MiB+ 17.05 KiB
/wp-admin/edit-comments.php0.243 s0.271 s+0.028 s2.75 MiB2.76 MiB+ 16.55 KiB
/0.253 s0.264 s+0.011 s2.67 MiB2.63 MiB- 41.39 KiB
Average 0.380 s0.316 s-0.064 s3.11 MiB3.12 MiB+ 12.18 KiB

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 2 lines

[09-Dec-2020 03:16:35 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>if-menu/v1/did-you-made-this-request</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5311
[09-Dec-2020 03:16:38 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>if-menu/v1/did-you-made-this-request</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5311
See also: All tests for this plugin, How to Hide the "If Menu" Admin Menu