[wp-trac] [WordPress Trac] #39065: Replace `is_super_admin()` checks with `manage_network` cap checks for `get_dashboard_url()`

WordPress Trac noreply at wordpress.org
Mon Dec 12 22:40:06 UTC 2016


#39065: Replace `is_super_admin()` checks with `manage_network` cap checks for
`get_dashboard_url()`
---------------------------------------------+------------------------
 Reporter:  flixos90                         |       Owner:  flixos90
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  4.8
Component:  Role/Capability                  |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  multisite
---------------------------------------------+------------------------
Changes (by flixos90):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39589"]:
 {{{
 #!CommitTicketReference repository="" revision="39589"
 Multisite: Replace `is_super_admin()` with `manage_network` in
 `get_dashboard_url()`.

 Unit tests for `get_dashboard_url()` have been added.

 Props iaaxpage.
 Fixes #39065. See #37616.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39065#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list