Close #1127 - Assume prod if WP_ENV is undefined