If Menu - Visibility control for menus 0.19.2

Does "If Menu - Visibility control for menus" work with WordPress 6.8.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: 17.78 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.8.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=c54112809a
Aspect after-activation
HTTP status 200
Load time 0.261 s
Memory usage 3.54 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.555 s
Memory usage 3.56 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.203 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.360 s0.310 s-0.050 s3.51 MiB3.53 MiB+ 21.8 KiB
/wp-admin/edit.php0.215 s0.205 s-0.010 s3.57 MiB3.59 MiB+ 21.2 KiB
/wp-admin/post-new.php0.834 s0.658 s-0.176 s6.06 MiB6.1 MiB+ 39.61 KiB
/wp-admin/upload.php0.823 s0.545 s-0.278 s3.52 MiB3.53 MiB+ 3.8 KiB
/wp-admin/options-writing.php0.253 s0.208 s-0.045 s3.5 MiB3.51 MiB+ 7.79 KiB
/wp-admin/media-new.php0.287 s0.207 s-0.080 s3.49 MiB3.51 MiB+ 15.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.190 s-0.007 s3.5 MiB3.53 MiB+ 26.66 KiB
/wp-admin/post-new.php?post_type=page0.767 s0.666 s-0.101 s6.05 MiB6.08 MiB+ 35.13 KiB
/wp-admin/options-discussion.php0.310 s0.238 s-0.072 s3.5 MiB3.51 MiB+ 4.29 KiB
/wp-admin/edit-comments.php0.447 s0.190 s-0.257 s3.52 MiB3.53 MiB+ 3.79 KiB
/0.366 s0.184 s-0.182 s3.43 MiB3.45 MiB+ 15.55 KiB
Average 0.442 s0.327 s-0.114 s3.97 MiB3.99 MiB+ 17.78 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,6111168
CSS15.4%33042
PO File3.7%79242
JavaScript2.8%6161
Markdown1.8%3801
JSON1.2%2601
SVG0.2%401
Total 2,149 150 16

PHP Code Analysis | More results »

Lines of code 1,639
Total complexity 231
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