Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag in site create to support WP_ENVIRONMENT_TYPE #93

Closed
mrrobot47 opened this issue Aug 26, 2020 · 0 comments · Fixed by EasyEngine/site-type-wp#206
Closed

Add flag in site create to support WP_ENVIRONMENT_TYPE #93

mrrobot47 opened this issue Aug 26, 2020 · 0 comments · Fixed by EasyEngine/site-type-wp#206

Comments

@mrrobot47
Copy link
Member

mrrobot47 commented Aug 26, 2020

Add flag, say --env=<value> in site create, which will add that as below in wp-config.php:

define( 'WP_ENVIRONMENT_TYPE', 'value' );

For the initial release of this feature, we will restrict the values that this flag can take as input to:
production, staging and development which are the default 3 envs defined in https://make.wordpress.org/core/2020/07/24/new-wp_get_environment_type-function-in-wordpress-5-5/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant