[wp-hackers] Removing edit theme files features
Frank Bueltge
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
deactivate:
// for enabling/disabling theme/plugin editor
define( 'DISALLOW_FILE_EDIT', TRUE );
For more restrictions:
// Disallow anything that creates, deletes, or edits core, plugin, or
theme files.
// Files in uploads are excepted.
define( 'DISALLOW_FILE_MODS', TRUE );
More possibilities with contants:
http://wpengineer.com/2382/wordpress-constants-overview/
Best regards
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
> online.
>
> 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
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list