Skip to content

Commit

Permalink
Disable automatic updating out of the box
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctl committed Apr 5, 2024
1 parent 8afbe70 commit f89dbea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .env.slic
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,11 @@ SLIC_WP_HTTP_BLOCK_EXTERNAL=true
# This value will be assigned to the DISABLE_WP_CRON constant defined in the wp-config.php file.
# Set to `true` to disable the WordPress cron system, set to `false` to enable it.
SLIC_DISABLE_WP_CRON=true

# This value will be assigned to the WP_AUTO_UPDATE_CORE constant defined in the wp-config.php file.
# Set to `true` to allow automatic core updates to take place.
SLIC_WP_AUTO_UPDATE_CORE=false

# This value will be assigned to the AUTOMATIC_UPDATER_DISABLED constant defined in the wp-config.php file.
# Set to `false` to allow all types of automatic updates.
SLIC_AUTOMATIC_UPDATER_DISABLED=true
2 changes: 2 additions & 0 deletions slic-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ services:
define( 'WP_DEBUG_LOG', true );
define( 'DISABLE_WP_CRON', ${SLIC_DISABLE_WP_CRON:-true} );
define( 'WP_HTTP_BLOCK_EXTERNAL', ${SLIC_WP_HTTP_BLOCK_EXTERNAL:-true} );
define( 'WP_AUTO_UPDATE_CORE', ${SLIC_WP_AUTO_UPDATE_CORE:-false} );
define( 'AUTOMATIC_UPDATER_DISABLED', ${SLIC_AUTOMATIC_UPDATER_DISABLED:-true} );
# Configure this to debug the tests with XDebug.
# Map the `_wordpress` directory to `/var/www/html' directory in your IDE of choice.
# Map the `_plugins` directory to `/plugins` directory in your IDE of choice.
Expand Down

0 comments on commit f89dbea

Please sign in to comment.