Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add WP_ENV_MULTISITE envoriment variable. (WordPress#68792)
* Add WP_ENV_MULTISITE envoriment variable. Introduce a new `multisite` option in `wp-env` to enable multisite setups. This can be specified via the `WP_ENV_MULTISITE` environment variable or in the configuration file. Updated documentation to include usage instructions. * Apply suggestions from code review * Apply suggestions from code review * Update packages/env/README.md Co-authored-by: Pascal Birchler <[email protected]> * Add `WP_ENV_MULTISITE` environment variable to override multisite This enhancement allows overriding the `multisite` option using the `WP_ENV_MULTISITE` variable. It provides greater flexibility for customizing environment configurations. * Fix type annotation and format multisite environment logic Corrected the JSDoc type annotation for the multisite property from `bool` to `boolean` for consistency. Added a minor formatting adjustment to the multisite environment variable processing logic. --------- Co-authored-by: Pascal Birchler <[email protected]>
- Loading branch information