Closed diegopau closed 10 years ago
It looks like something like this should work:
/* Disable automatic updates */ define( 'AUTOMATIC_UPDATER_DISABLED', true );
I'm going to test it and if it works, I will do a pull request.
There's already a pull request on wordpress-on-heroku, see https://github.com/mchung/wordpress-on-heroku/pull/10
@diegopau, to update to 3.8.1:
heroku labs:enable user-env-compile
heroku config:set WORDPRESS_VERSION=3.8.1
and push something to heroku to force a recompile
Oh, great then :)
I hope mchung check your PR soon.
Thank you both! I didn't know there was a pull request for that already. I tried okko solution and worked like a charm. I leave this open so mchung can see it and decide if close it or not!
Merged!
Sorry to bring this back up but I am getting the same issue with update to 3.9... I am not sure how to fix this... It keeps looping and says the databse needs to be updated. Issue #9 seems to relate to the same problem... At this point it seems really unstable unfortunately and I am trying to figure out how to fix that... @okko @diegopau @mchung can any of you guys help me out? I am on the latest Heroku cedar stack and am using the latest heroku-buildpack-wordpress... Let me know what other info you need...
Wordpress is auto-updating its core to 3.8.1 everyday. And due to Heroku ephimeral system it goes back to 3.8 once the dyno restarts.
Is any way to prevent this? is it safe to update wordpress manually just following their documentation?