Created
April 23, 2015 02:10
-
-
Save hothanhan/2122c99fbecdd1c06fbf to your computer and use it in GitHub Desktop.
Update WordPress Automatically Without Using FTP
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
/** sets up wordpress vars and included file. */ | |
require_once(ABSPATH.'wp-settings.php'); | |
/** Sets up 'direct' method for wordpress, auto update without FTP */ | |
define('FS_METHOD','direct'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Paste the following code to your wp-config.php file, preferably just below every other line of code