Make WordPress Core

Changeset 20621


Ignore:
Timestamp:
04/27/2012 07:02:10 PM (12 years ago)
Author:
nacin
Message:

Do not break a domain on network/site-new.php across two lines. props SergeyBiryukov, fixes #19895.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-new.php

    r19712 r20621  
    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' ) ?>"/>
Note: See TracChangeset for help on using the changeset viewer.