[wp-hackers] Removing edit theme files features
frank at bueltge.de
Wed Jan 16 07:46:07 UTC 2013
You can use the follow constant in the wp-config.php and the editor is
// for enabling/disabling theme/plugin editor
define( 'DISALLOW_FILE_EDIT', TRUE );
For more restrictions:
// Disallow anything that creates, deletes, or edits core, plugin, or
// Files in uploads are excepted.
define( 'DISALLOW_FILE_MODS', TRUE );
More possibilities with contants:
On Wed, Jan 16, 2013 at 8:41 AM, Almog Baku <almog.baku at gmail.com> wrote:
> Hey guys!
> Isn't it the time to remove this amateur feature of editing themes files
> This feature doesn't behave as excepted and designed very old fashion so it
> pretty remind me 99' features(phpnuke style!)...
> What do you think?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers