If Menu - Visibility control for menus 0.17.0

Does "If Menu - Visibility control for menus" work with WordPress 6.4.3 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: 10.09 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.4.3
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=cd50b3494b
Aspect after-activation
HTTP status 200
Load time 0.247 s
Memory usage 3.34 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.580 s
Memory usage 3.36 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.191 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.334 s0.301 s-0.033 s3.38 MiB3.4 MiB+ 21.44 KiB
/wp-admin/edit.php0.337 s0.204 s-0.133 s3.41 MiB3.43 MiB+ 21.03 KiB
/wp-admin/post-new.php0.833 s0.723 s-0.110 s5.46 MiB5.49 MiB+ 30.01 KiB
/wp-admin/upload.php0.672 s0.482 s-0.190 s3.32 MiB3.33 MiB+ 4.03 KiB
/wp-admin/options-writing.php0.217 s0.209 s-0.008 s3.32 MiB3.31 MiB- 3.38 KiB
/wp-admin/media-new.php0.309 s0.222 s-0.087 s3.3 MiB3.31 MiB+ 15.81 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.190 s-0.017 s3.31 MiB3.33 MiB+ 21.39 KiB
/wp-admin/post-new.php?post_type=page0.808 s0.568 s-0.240 s5.45 MiB5.48 MiB+ 29.59 KiB
/wp-admin/options-discussion.php0.271 s0.306 s+0.035 s3.3 MiB3.31 MiB+ 4.52 KiB
/wp-admin/edit-comments.php0.239 s0.225 s-0.014 s3.34 MiB3.34 MiB+ 4.02 KiB
/0.268 s0.216 s-0.052 s3.36 MiB3.32 MiB- 37.44 KiB
Average 0.409 s0.331 s-0.077 s3.72 MiB3.73 MiB+ 10.09 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