Skip to content

Commit 7fa3c2a

Browse files
committed
Merge branch 'develop' for v1.6.7
2 parents d3cbd48 + 4b428fa commit 7fa3c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WordPress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ private function create_site( $assoc_args ) {
10701070
\EE::runcommand( 'cron create ' . $this->site_data['site_url'] . " --user=www-data --command='wp cron event run --due-now' --schedule='$cron_interval/10 * * * *'" );
10711071

10721072
$env_type = \EE::get_runner()->config['env'];
1073-
if ( ! empty( $env_type ) && in_array( $env_type, [ 'develop', 'development', 'local' ] ) ) {
1073+
if ( ! empty( $env_type ) && in_array( $env_type, [ 'develop', 'development', 'local', 'staging' ] ) ) {
10741074
\EE::log( 'Enabling mailhog as this is a ' . $env_type . ' server.' );
10751075
\EE::runcommand( 'mailhog enable ' . $this->site_data['site_url'] );
10761076
}

0 commit comments

Comments
 (0)