Re:Remind HN: Update your wordpress sites
by ozh on Thursday May 14, 2015 @05:55AM
(#9544185)
As someone who owns multiple WP installs, I have added "define( 'WP_AUTO_UPDATE_CORE', true );" to all my wp-config.php files so that all my installs automatically self update with ALL future updates, minor & major
[ Parent
| on HN ]
It is great in theory. In practice, the last auto-update caused a WSOD on my site without any helpful debug log (both on WP and server log) until I manually disabled a (popular) plugin by editing its php file.
I wonder how a less tech-savy person would have resolved that. Even being tech-savy, I had to ask someone for help.
Updates of core and plugins are always very scary to me.
It's a system that's based on trust, but the auto-update that is active in WordPress has saved millions of sites of getting hacked in the last few weeks: https://ma.ttias.be/in-defence-of-wordpress/
As soon as something major breaks by those auto-updates, the trust is over and a lot of users will disable it. That would be a shame indeed, because besides a couple of WSOD's some users may experience, it's an extremely powerful feature.
Re:Remind HN: Update your wordpress sites
by federicobond on Thursday May 14, 2015 @10:44AM
(#9545431)
There is also "define( 'WP_AUTO_UPDATE_CORE', 'minor' );" which should break a lot less.
Re:Remind HN: Update your wordpress sites
by makeitsuckless on Thursday May 14, 2015 @06:45AM
(#9544300)
As someone who hasn't bothered with WP in a long while, is there any way to do this safely whilst still using 3rd party plugins and themes?
Depends on the themes and the plugins. Basically: not really, but if you've used a small subset of themes and plugins you should be okay.
Re:Remind HN: Update your wordpress sites
by mobiplayer on Friday May 15, 2015 @11:13AM
(#9551129)
How does it check for new versions? Could it be MITM'd? :-)
I've personally no idea, but I hope you asked yourself those questions.