WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/26/2014 07:50:20 PM (6 years ago)
Author:
ocean90
Message:

Network Admin: Improve width of input fields on Add New Site and Edit Site screens.

props honeysilvas.
fixes #16383.

File:
1 edited

Legend:

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

    r29877 r30578  
    131131            <td>
    132132            <?php if ( is_subdomain_install() ) { ?>
    133                 <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>
     133                <input name="blog[domain]" type="text" class="regular-text" id="site-address" title="<?php esc_attr_e( 'Domain' ) ?>"/><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', $current_site->domain ); ?></span>
    134134            <?php } else {
    135                 echo $current_site->domain . $current_site->path ?><input name="blog[domain]" class="regular-text" type="text" title="<?php esc_attr_e( 'Domain' ) ?>"/>
     135                echo $current_site->domain . $current_site->path ?><input name="blog[domain]" class="regular-text" id="site-address" type="text" title="<?php esc_attr_e( 'Domain' ) ?>"/>
    136136            <?php }
    137137            echo '<p>' . __( 'Only lowercase letters (a-z) and numbers are allowed.' ) . '</p>';
     
    141141        <tr class="form-field form-required">
    142142            <th scope="row"><?php _e( 'Site Title' ) ?></th>
    143             <td><input name="blog[title]" type="text" class="regular-text" title="<?php esc_attr_e( 'Title' ) ?>"/></td>
     143            <td><input name="blog[title]" type="text" class="regular-text" id="site-title" title="<?php esc_attr_e( 'Title' ) ?>"/></td>
    144144        </tr>
    145145        <tr class="form-field form-required">
    146146            <th scope="row"><?php _e( 'Admin Email' ) ?></th>
    147             <td><input name="blog[email]" type="email" class="regular-text wp-suggest-user" data-autocomplete-type="search" data-autocomplete-field="user_email" title="<?php esc_attr_e( 'Email' ) ?>"/></td>
     147            <td><input name="blog[email]" type="email" class="regular-text wp-suggest-user" id="admin-email" data-autocomplete-type="search" data-autocomplete-field="user_email" title="<?php esc_attr_e( 'Email' ) ?>"/></td>
    148148        </tr>
    149149        <tr class="form-field">
Note: See TracChangeset for help on using the changeset viewer.