Adam J. Balée

How to Disable WordPress Theme and Plugin Editors

If you are at all concerned about the security of your WordPress powered site, and you should be, disabling the theme and plugin editors in your admin is a must.

Just add the following code to your wp-config.php file:

/** Disable theme and plugin editors. */
define('DISALLOW_FILE_EDIT',true);

1 Comment

  1. Ute Kerzer Reply

    I have been checking out some of your articles and i can claim pretty good stuff. I will definitely bookmark your site.

Leave a comment