Wordpress/tests
Felix Arntz cf0ca2645f Multisite: Show menu items in `My Sites > Network Admin` admin bar menu based on more precise capability checks.
Previously the menu items would all be displayed solely based on the `manage_network` capability. This change provides parity with the network admin menu.

Unit tests for the network admin menu functionality of `wp_admin_bar_my_sites_menu()` have been added.

Props chandrapatel.
Fixes #39082.


git-svn-id: https://develop.svn.wordpress.org/trunk@39948 602fd350-edb4-49c9-b593-d223f7449a82
2017-01-24 16:28:30 +00:00
..
phpunit Multisite: Show menu items in `My Sites > Network Admin` admin bar menu based on more precise capability checks. 2017-01-24 16:28:30 +00:00
qunit Menus: trigger an event when menu items are added or removed. 2017-01-20 16:14:23 +00:00