[wp-trac] [WordPress Trac] #39207: Replace is_super_admin() check with current_user_can( 'manage_options' ) in wp-admin/options-general.php
WordPress Trac
noreply at wordpress.org
Tue Jan 24 13:12:31 UTC 2017
#39207: Replace is_super_admin() check with current_user_can( 'manage_options' ) in
wp-admin/options-general.php
--------------------------------+------------------------
Reporter: Dhaval Parekh | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.8
Component: Options, Meta APIs | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: multisite
--------------------------------+------------------------
Changes (by flixos90):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"39947"]:
{{{
#!CommitTicketReference repository="" revision="39947"
Multisite: Replace `is_super_admin()` with a proper capability check when
showing a notice about `WPLANG`.
In multisite, the notice is displayed to users that have the
`manage_network_options` capability. In non-multisite, the notice is
displayed to users with the `manage_options` capability.
Props Dhaval Parekh.
Fixes #39207. See #37616.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39207#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list