?>
<p><?php
echo wp_required_field_message(); ?></p>
<form method="post" action="<?php
echo esc_url( network_admin_url( 'site-new.php?action=add-site'
) ); ?>" novalidate="novalidate">
<?php
wp_nonce_field( 'add-blog', '_wpnonce_add-blog'
); ?>
<table class="form-table" role="presentation">
<tr class="form-field form-required">
<th scope="row">
<label for="site-address">
<?php
_e( 'Site Address (URL)'
);
echo ' ' .
wp_required_field_indicator();
?>
</label>
</th>
<td>
<?php
if ( is_subdomain_install() ) { ?>
<input name="blog[domain]" type="text" class="regular-text ltr" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off" required /><span class="no-break">.<?php
echo preg_replace( '|^www\.|', '',
get_network()->domain
); ?></span>
<?php
} else { echo get_network()->domain .
get_network()->path
?>
<input name="blog[domain]" type="text" class="regular-text ltr" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off" required />