WordPress.org

Make WordPress Core

Ticket #16383: 16383.diff

File 16383.diff, 1.4 KB (added by garyc40, 4 years ago)

fix box width

  • wp-admin/css/wp-admin.dev.css

    diff --git wp-admin/css/wp-admin.dev.css wp-admin/css/wp-admin.dev.css
    index 0a70bd5..c07d355 100644
    ul.add-menu-item-tabs li { 
    26512651        width: 95%; 
    26522652} 
    26532653 
     2654.form-field .site-address { 
     2655        width:auto; 
     2656} 
     2657 
    26542658p.description, 
    26552659.form-wrap p { 
    26562660        margin: 2px 0 5px; 
  • wp-admin/network/site-new.php

    diff --git wp-admin/network/site-new.php wp-admin/network/site-new.php
    index a94aaf3..d808908 100644
    if ( ! empty( $messages ) ) { 
    117117                        <th scope="row"><?php _e( 'Site Address' ) ?></th> 
    118118                        <td> 
    119119                        <?php if ( is_subdomain_install() ) { ?> 
    120                                 <input name="blog[domain]" type="text" class="regular-text" title="<?php _e( 'Domain' ) ?>"/>.<?php echo preg_replace( '|^www\.|', '', $current_site->domain );?> 
     120                                <input name="blog[domain]" type="text" class="site-address regular-text" title="<?php _e( 'Domain' ) ?>"/>.<?php echo preg_replace( '|^www\.|', '', $current_site->domain );?> 
    121121                        <?php } else { 
    122                                 echo $current_site->domain . $current_site->path ?><input name="blog[domain]" class="regular-text" type="text" title="<?php _e( 'Domain' ) ?>"/> 
     122                                echo $current_site->domain . $current_site->path ?><input name="blog[domain]" class="site-address regular-text" type="text" title="<?php _e( 'Domain' ) ?>"/> 
    123123                        <?php } 
    124124                        echo '<p>' . __( 'Only the characters a-z and 0-9 recommended.' ) . '</p>'; 
    125125                        ?>