If Menu - Visibility control for menus 0.16.3

Does "If Menu - Visibility control for menus" work with WordPress 6.2 and PHP 8.1.12? 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: 15.94 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=893e685a1e
Aspect after-activation
HTTP status 200
Load time 0.232 s
Memory usage 3.03 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.634 s
Memory usage 3.06 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.234 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.310 s0.256 s-0.054 s3.07 MiB3.09 MiB+ 17.81 KiB
/wp-admin/edit.php0.194 s0.196 s+0.002 s3.1 MiB3.12 MiB+ 17.41 KiB
/wp-admin/post-new.php0.811 s0.606 s-0.205 s5.02 MiB5.05 MiB+ 26.38 KiB
/wp-admin/upload.php0.587 s0.538 s-0.049 s3.02 MiB3.02 MiB+ 416 bytes
/wp-admin/options-writing.php0.163 s0.219 s+0.056 s3.01 MiB3 MiB- 12.84 KiB
/wp-admin/media-new.php0.356 s0.250 s-0.106 s2.99 MiB3 MiB+ 12.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.197 s+0.000 s3.01 MiB3.02 MiB+ 17.77 KiB
/wp-admin/post-new.php?post_type=page0.639 s0.644 s+0.005 s5.01 MiB5.04 MiB+ 21.97 KiB
/wp-admin/options-discussion.php0.220 s0.254 s+0.034 s3 MiB3 MiB+ 920 bytes
/wp-admin/edit-comments.php0.251 s0.211 s-0.040 s3.03 MiB3.03 MiB+ 408 bytes
/0.338 s0.233 s-0.105 s2.97 MiB3.04 MiB+ 72.97 KiB
Average 0.370 s0.328 s-0.042 s3.38 MiB3.4 MiB+ 15.94 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,6021168
CSS15.4%33042
PO File3.7%79242
JavaScript2.9%6161
Markdown1.8%3801
JSON1.2%2601
SVG0.2%401
Total 2,140 150 16

PHP Code Analysis | More results »

Lines of code 1,629
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