[wp-trac] [WordPress Trac] #39082: Menu items in the My Sites -> Network Admin menu should use individual capability checks
WordPress Trac
noreply at wordpress.org
Tue Jan 24 16:28:32 UTC 2017
#39082: Menu items in the My Sites -> Network Admin menu should use individual
capability checks
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.8
Component: Toolbar | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch commit | Focuses: multisite
has-unit-tests |
-------------------------------------------------+-------------------------
Changes (by flixos90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"39948"]:
{{{
#!CommitTicketReference repository="" revision="39948"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39082#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list