[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 21:25:11 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
--------------------------------------+------------------------

Comment (by flixos90):

 [attachment:39065.2.diff] improves the unit tests as the common test user
 is now created in `wpSetUpBeforeClass()` to speed up the related tests.

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


More information about the wp-trac mailing list