WordPress.org

Make WordPress Core

Ticket #19895: 19895.patch

File 19895.patch, 909 bytes (added by SergeyBiryukov, 6 years ago)
  • wp-admin/network/site-new.php

     
    123123                        <th scope="row"><?php _e( 'Site Address' ) ?></th>
    124124                        <td>
    125125                        <?php if ( is_subdomain_install() ) { ?>
    126                                 <input name="blog[domain]" type="text" class="regular-text" title="<?php esc_attr_e( 'Domain' ) ?>"/>.<?php echo preg_replace( '|^www\.|', '', $current_site->domain );?>
     126                                <input name="blog[domain]" type="text" class="regular-text" title="<?php esc_attr_e( 'Domain' ) ?>"/><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', $current_site->domain ); ?></span>
    127127                        <?php } else {
    128128                                echo $current_site->domain . $current_site->path ?><input name="blog[domain]" class="regular-text" type="text" title="<?php esc_attr_e( 'Domain' ) ?>"/>
    129129                        <?php }