[wp-trac] [WordPress Trac] #11306: Option to disable theme/plugin editor
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 9 00:40:47 UTC 2010
#11306: Option to disable theme/plugin editor
-----------------------------+----------------------------------------------
Reporter: kchrist | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 3.0
Component: General | Version: 2.9
Severity: normal | Keywords: has-patch
-----------------------------+----------------------------------------------
Comment(by nacin):
dd32 turned on the editors in [12984]. We would need to make a decision
there.
The other issue we need to address of course is that current_user_can()
has an early escape hatch giving multisite super admins all caps. So we're
going to have problems with DISALLOW_FILE_EDIT and the create_users cap
(#12098) because we can't map them properly -- #12109.
Until the capabilities system changes, we could possibly create an array
of capabilities that would skip the {{{if ( is_multisite() &&
is_super_admin() ) return true;}}} check and allow that to progress to
map_meta_cap.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11306#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list