[wp-trac] [WordPress Trac] #37616: Replace `is_super_admin()` calls with real capability checks
WordPress Trac
noreply at wordpress.org
Fri Apr 7 13:14:38 UTC 2017
#37616: Replace `is_super_admin()` calls with real capability checks
-----------------------------+------------------------
Reporter: flixos90 | Owner:
Type: task (blessed) | Status: reviewing
Priority: normal | Milestone: 4.8
Component: Role/Capability | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: multisite
-----------------------------+------------------------
Comment (by flixos90):
In [changeset:"40391"]:
{{{
#!CommitTicketReference repository="" revision="40391"
Multisite: Partially revert [40295].
[40295] removed the restriction of a minimum amount of characters for new
site names, which could cause unexpected behavior. That changeset is
reverted here with the exception of the removal of the `is_super_admin()`
check, which can safely be omitted. A new filter for the minimum site name
length will be introduced later to be able to modify that behavior.
See #39676, #37616.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37616#comment:61>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list