Created
June 20, 2016 14:56
-
-
Save sonnetmia/b8a6e3581acc61f0fa5d14e4bfb67420 to your computer and use it in GitHub Desktop.
Force WordPress update without ftp info in some case.
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
<?php | |
/** Sets up 'direct' method for WordPress to FTP, without requiring credentials */ | |
define('FS_METHOD', 'direct'); | |
/** Defines permissions for WordPress to apply to new directories */ | |
define('FS_CHMOD_DIR', ( 0755 & ~ umask() ) ); | |
/** Defines permissions for WordPress to apply to new files */ | |
define('FS_CHMOD_FILE', ( 0664 & ~ umask() ) ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment