fix warning about WP_ENV constant