[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
Sun Dec 4 20:54: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:  assigned
 Priority:  normal                    |   Milestone:  4.8
Component:  Role/Capability           |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  multisite
--------------------------------------+------------------------
Changes (by flixos90):

 * keywords:  has-patch => has-patch has-unit-tests
 * owner:   => flixos90
 * status:  new => assigned


Comment:

 Thanks again for the patch @iaaxpage!

 I added unit tests in [attachment:39065.diff].

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


More information about the wp-trac mailing list