[wp-trac] [WordPress Trac] #11306: Option to disable theme/plugin editor

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 9 01:05:28 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 dd32):

 > dd32 turned on the editors in [12984]. We would need to make a decision
 there.

 Yeah, I just realised i made an error there. Once again, that was because
 of #12109. If you're a super admin and accessed the file directly, you had
 full access.

 [12984] can be reverted if the editor wants to be completely disabled, but
 that'll require a {{{ if ( is_multisite() || (
 defined('DISALLOW_FILE_EDIT') && DISALLOW_FILE_EDIT ) )
 wp_die('Disabled'); }}} in the editors to prevent super admins accessing
 it directly too.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11306#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list