[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 23:17:36 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
---------------------------------------------+------------------------
Comment (by flixos90):
In [changeset:"39590"]:
{{{
#!CommitTicketReference repository="" revision="39590"
Tests: Use `wp_delete_user()` during teardown to delete a single site's
user.
Fixes failing tests for `get_dashboard_url()`.
Fixes #39065.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39065#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list