If Menu – Visibility control for Menus 0.12

Does "If Menu - Visibility control for menu items" work with WordPress 4.9.8 and PHP 7.0.16? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 Timeout
No resource errors
Performance

Memory usage: 26.99 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 version4.9.8
PHP version7.0.16
MySQL version5.7.17
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?activate=true&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=9a6238253f
Aspect after-activation
HTTP status 200 OK
Load time 0.130 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Appearance → If Menu

Screenshot not available
URL /wp-admin/themes.php?page=if-menu
Aspect menu-item
HTTP status 0 (Timeout)
Load time 29.996 s
Memory usage N/A
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 OK
Load time 0.242 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.144 s0.112 s-0.032 s3.12 MiB3.14 MiB+ 23.14 KiB
/wp-admin/edit.php0.109 s0.102 s-0.007 s3.14 MiB3.16 MiB+ 23.11 KiB
/wp-admin/post-new.php0.224 s0.237 s+0.013 s3.21 MiB3.24 MiB+ 30.28 KiB
/wp-admin/upload.php0.104 s0.106 s+0.002 s2.98 MiB3 MiB+ 21.95 KiB
/wp-admin/options-writing.php0.103 s0.077 s-0.026 s3.06 MiB2.99 MiB- 69.09 KiB
/wp-admin/media-new.php0.055 s0.087 s+0.032 s2.96 MiB2.98 MiB+ 22.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.103 s0.077 s-0.026 s3 MiB3.09 MiB+ 87.02 KiB
/wp-admin/post-new.php?post_type=page0.161 s0.162 s+0.001 s3.21 MiB3.23 MiB+ 23.02 KiB
/wp-admin/options-discussion.php0.098 s0.075 s-0.023 s2.97 MiB2.99 MiB+ 22.43 KiB
/wp-admin/edit-comments.php0.082 s0.087 s+0.005 s3.01 MiB3.09 MiB+ 85.93 KiB
/0.112 s0.052 s-0.060 s2.83 MiB
Average 0.118 s0.107 s-0.011 s3.04 MiB3.09 MiB+ 26.99 KiB

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 20 lines

[03-Sep-2018 12:39:05 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function format_code_lang() in /wp-content/plugins/if-menu/src/conditions-multiple-options.php:439
Stack trace:
#0 /wp-includes/class-wp-hook.php(286): ifMenuAdvancedConditions(Array)
#1 /wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#2 /wp-content/plugins/if-menu/if-menu.php(41): apply_filters('if_menu_conditi...', Array)
#3 /wp-content/plugins/if-menu/if-menu.php(59): If_Menu::get_conditions(true)
#4 /wp-includes/class-wp-hook.php(288): If_Menu::wp_get_nav_menu_items(Array)
#5 /wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#6 /wp-includes/nav-menu.php(724): apply_filters('wp_get_nav_menu...', Array, Object(WP_Term), Array)
#7 /wp-incl in /wp-content/plugins/if-menu/src/conditions-multiple-options.php on line 439
[03-Sep-2018 12:39:08 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function format_code_lang() in /wp-content/plugins/if-menu/src/conditions-multiple-options.php:439
Stack trace:
#0 /wp-includes/class-wp-hook.php(286): ifMenuAdvancedConditions(Array)
#1 /wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#2 /wp-content/plugins/if-menu/if-menu.php(41): apply_filters('if_menu_conditi...', Array)
#3 /wp-content/plugins/if-menu/if-menu.php(59): If_Menu::get_conditions(true)
#4 /wp-includes/class-wp-hook.php(288): If_Menu::wp_get_nav_menu_items(Array)
#5 /wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#6 /wp-includes/nav-menu.php(724): apply_filters('wp_get_nav_menu...', Array, Object(WP_Term), Array)
#7 /wp-incl in /wp-content/plugins/if-menu/src/conditions-multiple-options.php on line 439
See also: All tests for this plugin, How to Hide the "If Menu" Admin Menu