Skip to content

--subdomains and --skip-email not getting cover for multisite-install command  #6

@1naveengiri

Description

@1naveengiri

After checking this code

.....
....
if ( isset( $assoc_args['multisite'] ) ) {
	$subcommand = 'multisite-install';  // set command to create multisite 
}

$core_install = "wp --path=%s core %s --url=%s --title=%s --admin_user=%s --admin_password=%s --admin_email=%s";
WP_CLI::log( 'Installing WordPress...' );
WP_CLI::launch( \WP_CLI\Utils\esc_cmd( $core_install, $site_path, $subcommand, 'http://' . $args[0], $args[0], $admin_user, $admin_pass, $admin_email ) );
.....
...

I found no param to mentioned subdomain multisite and no way to add --skip-email param in current command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions