From 1c171bc4cbacf084989fc72cb0e6a0a0437dec4c Mon Sep 17 00:00:00 2001 From: QWp6t Date: Wed, 13 Aug 2014 23:50:39 -0700 Subject: [PATCH] Defines WP_ENV if it is not already defined --- lib/config.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/config.php b/lib/config.php index 58317fed2d..a6e67ca3fd 100644 --- a/lib/config.php +++ b/lib/config.php @@ -13,6 +13,10 @@ */ define('GOOGLE_ANALYTICS_ID', ''); // UA-XXXXX-Y (Note: Universal Analytics only, not Classic Analytics) +if (!defined('WP_ENV')) { + define('WP_ENV', 'development'); // scripts.php checks for values 'production' or 'development' +} + /** * .main classes */