3 ms·
This is slightly offtopic but Wordpress built-in update feature only works in you have ftp on your server. If you've disabled FTP for security reason updating b
by arkitaip 15y ago
This is slightly offtopic but Wordpress built-in update feature only works in you have ftp on your server. If you've disabled FTP for security reason updating becomes a manual process. I wish the WP devs would use patch or some other, CLI friendly, solution.
- dave1010uk 15y agoAgreed. I normally find the list of changed files from a blog post, download the .tar.gz and add them to my local git repo manually. I guess I could get the current SVN tag but doubt that would be simple with my setup.
- nbpoole 15y ago"If you've disabled FTP for security reason updating becomes a manual process." The automatic update process will also work if the webserver has write permissions on the files (which is a bad idea in the first place). But if it doesn't and you can't/won't give it FTP credentials for a user that does, you do need to go through a somewhat manual process. Personally, I use vendor branching (http://svnbook.red-bean.com/en/1.1/ch07s05.html http://svnbook.red-bean.com/en/1.1/ch07s05.html) in both SVN and Git in cases like this. I don't have to rely on the developers to generate a patch: I get all of the changes pulled directly from my local repository.
- griffbrad 15y agoIf you install the ssh2 PECL extension, the updater will also allow you to update over SSH/SFTP.
- crb 15y agoThe SSH/SFTP method doesn't support SSH keys, so it's similarly useless on a system which requires them to log in.