If Menu – Visibility control for Menus 0.16.2

Does "If Menu - Visibility control for menu items" work with WordPress 6.0 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: 17.43 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.0
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=edebbf01d0
Aspect after-activation
HTTP status 200
Load time 0.416 s
Memory usage 3.71 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.702 s
Memory usage 3.68 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.229 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.391 s0.265 s-0.126 s3.72 MiB3.74 MiB+ 17.7 KiB
/wp-admin/edit.php0.182 s0.211 s+0.029 s3.75 MiB3.77 MiB+ 17.7 KiB
/wp-admin/post-new.php0.770 s0.938 s+0.168 s5.53 MiB5.56 MiB+ 30.52 KiB
/wp-admin/upload.php0.399 s0.381 s-0.018 s3.68 MiB3.7 MiB+ 16.57 KiB
/wp-admin/options-writing.php0.222 s0.146 s-0.076 s3.61 MiB3.61 MiB- 3.12 KiB
/wp-admin/media-new.php0.355 s0.215 s-0.140 s3.66 MiB3.67 MiB+ 16.74 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.206 s+0.018 s3.68 MiB3.7 MiB+ 17.65 KiB
/wp-admin/post-new.php?post_type=page0.942 s0.778 s-0.164 s5.53 MiB5.55 MiB+ 22.1 KiB
/wp-admin/options-discussion.php0.253 s0.286 s+0.033 s3.59 MiB3.61 MiB+ 17.05 KiB
/wp-admin/edit-comments.php0.217 s0.215 s-0.002 s3.69 MiB3.71 MiB+ 16.55 KiB
/0.272 s0.216 s-0.056 s3.55 MiB3.57 MiB+ 22.2 KiB
Average 0.381 s0.351 s-0.030 s4 MiB4.02 MiB+ 17.43 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
CSS
Language % Lines of code Comment lines Files
PHP74.9%1,5961168
CSS15.3%32642
PO File3.7%79242
JavaScript2.9%6161
Markdown1.8%3801
JSON1.2%2601
SVG0.2%401
Total 2,130 150 16

PHP Code Analysis | More results »

Lines of code 1,623
Total complexity 233
Median class complexity 20.0
Median method complexity 5.0
Most complex class If_Menu
Most complex function ifMenuAdvancedConditions()
Classes 5
Methods 22
Functions 8

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 "If Menu" Admin Menu