File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ public function create( $args, $assoc_args ) {
261
261
$ this ->logger ->debug ( 'args: ' , $ args );
262
262
$ this ->logger ->debug ( 'assoc_args: ' , empty ( $ assoc_args ) ? array ( 'NULL ' ) : $ assoc_args );
263
263
$ this ->site_data ['site_url ' ] = strtolower ( \EE \Utils \remove_trailing_slash ( $ args [0 ] ) );
264
- $ this ->site_data ['subnet_ip ' ] = \EE \Site \Utils \get_subnet_ip ();
264
+ $ this ->site_data ['subnet_ip ' ] = \EE \Site \Utils \get_available_subnet ();
265
265
266
266
$ mu = \EE \Utils \get_flag_value ( $ assoc_args , 'mu ' );
267
267
$ this ->site_data ['app_sub_type ' ] = $ mu ?? 'wp ' ;
@@ -1441,7 +1441,7 @@ protected function update_ssl( $assoc_args ) {
1441
1441
1442
1442
$ extra_flags = '--precise ' ;
1443
1443
$ extra_flags .= ( 'wp ' === $ this ->site_data ['app_sub_type ' ] ) ? '' : ' --network ' ;
1444
-
1444
+
1445
1445
$ ssl = get_flag_value ( $ assoc_args , 'ssl ' );
1446
1446
$ from = $ ssl === 'off ' ? 'https ' : 'http ' ;
1447
1447
$ to = $ ssl === 'off ' ? 'http ' : 'https ' ;
You can’t perform that action at this time.
0 commit comments