Created
November 29, 2017 08:51
-
-
Save hbaker/b85b30536c5606f7d0a6c977c82a2db9 to your computer and use it in GitHub Desktop.
WordPress - How to Prevent Core, Theme, and Plugin File Editing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// PREVENT WORDPRESS FILE EDITING | |
define('DISALLOW_FILE_EDIT', true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to Prevent File Editing
Adding this to the bottom of your wp-config.php file will block someone, even if they've obtained admin access, from maliciously editing files in your WordPress installation, including plugins and themes.