Skip to content

Commit

Permalink
add the new WP_ENVIRONMENT_TYPE environment variable that WP core use…
Browse files Browse the repository at this point in the history
…s in wp_get_environment_type function
  • Loading branch information
timiwahalahti committed Feb 19, 2021
1 parent 0c23137 commit f832c88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* Default: production
*/
define( 'WP_ENV', env( 'WP_ENV' ) ?: 'production' );
define( 'WP_ENVIRONMENT_TYPE', env( 'WP_ENV' ) ?: 'production' );

/**
* URLs
Expand Down

0 comments on commit f832c88

Please sign in to comment.