From 519720f37c0d0b0a6b60a2b718adfa86eacd5e38 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 6 Jun 2012 00:51:26 -0400 Subject: [PATCH] Add a WP_STAGE stub for designating the stage during deployment --- wp-config.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wp-config.php b/wp-config.php index be901af..dd9f6e9 100644 --- a/wp-config.php +++ b/wp-config.php @@ -69,6 +69,11 @@ define( 'WP_DEBUG_DISPLAY', false ); if ( file_exists( dirname( __FILE__ ) . '/memcached.php' ) ) $memcached_servers = include( dirname( __FILE__ ) . '/memcached.php' ); +// =========================================================================================== +// This can be used to programatically set the stage when deploying (e.g. production, staging) +// =========================================================================================== +define( 'WP_STAGE', '%%WP_STAGE%%' ); + // =================== // Bootstrap WordPress // ===================