Skip to content

Commit

Permalink
Disable automatic updates that are on by default for minor releases i…
Browse files Browse the repository at this point in the history
…n WP 3.7. Updates won't survive restarting and scaling dynos
  • Loading branch information
okko committed Dec 13, 2013
1 parent caacd78 commit 1098c7e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/public/wp-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@
*/
define("DISABLE_WP_CRON", getenv("DISABLE_WP_CRON") == "true");

/**
* Disable automatic updates, they won't survive restarting and scaling dynos
*/
define( 'AUTOMATIC_UPDATER_DISABLED', true );

/* That"s all, stop editing! Happy blogging. */

/** Absolute path to the WordPress directory. */
Expand Down

0 comments on commit 1098c7e

Please sign in to comment.