If Menu - Visibility control for menus 0.18.0

Does "If Menu - Visibility control for menus" work with WordPress 6.6.1 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: 28.08 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.6.1
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=98558599fd
Aspect after-activation
HTTP status 200
Load time 0.266 s
Memory usage 3.51 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.601 s
Memory usage 3.52 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.215 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.342 s0.317 s-0.025 s3.47 MiB3.49 MiB+ 21.44 KiB
/wp-admin/edit.php0.227 s0.208 s-0.019 s3.54 MiB3.56 MiB+ 21.03 KiB
/wp-admin/post-new.php0.793 s0.619 s-0.174 s5.75 MiB5.78 MiB+ 30.01 KiB
/wp-admin/upload.php0.695 s0.396 s-0.299 s3.49 MiB3.49 MiB+ 3.63 KiB
/wp-admin/options-writing.php0.213 s0.180 s-0.033 s3.41 MiB3.48 MiB+ 66.43 KiB
/wp-admin/media-new.php0.254 s0.440 s+0.186 s3.4 MiB3.47 MiB+ 79.81 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.186 s-0.004 s3.47 MiB3.5 MiB+ 26.48 KiB
/wp-admin/post-new.php?post_type=page0.617 s0.604 s-0.013 s5.75 MiB5.77 MiB+ 25.59 KiB
/wp-admin/options-discussion.php0.233 s0.273 s+0.040 s3.41 MiB3.47 MiB+ 68.12 KiB
/wp-admin/edit-comments.php0.208 s0.219 s+0.011 s3.49 MiB3.49 MiB+ 3.62 KiB
/0.319 s0.219 s-0.100 s3.45 MiB3.42 MiB- 37.27 KiB
Average 0.372 s0.333 s-0.039 s3.88 MiB3.9 MiB+ 28.08 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
PHP75.0%1,6101168
CSS15.4%33042
PO File3.7%79242
JavaScript2.8%6161
Markdown1.8%3801
JSON1.2%2601
SVG0.2%401
Total 2,148 150 16

PHP Code Analysis | More results »

Lines of code 1,638
Total complexity 235
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