[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:08:09 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 commit | Focuses: multisite
---------------------------------------------+------------------------
Changes (by jeremyfelt):
* keywords: has-patch has-unit-tests => has-patch has-unit-tests commit
Comment:
+1 [attachment:39065.2.diff] looks good, @flixos90.
We already discussed this off-ticket a bit, but we can remove the
`$wp_rewrite->init();` portion as it isn't necessary here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39065#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list