Make WordPress Core

Ticket #32646: 32464.diff

File 32464.diff, 1.0 KB (added by ohryan, 9 years ago)
  • src/wp-admin/network/site-new.php

    diff --git src/wp-admin/network/site-new.php src/wp-admin/network/site-new.php
    index 00ca3c9..6dee4f0 100644
    if ( ! empty( $messages ) ) { 
    143143                        <th scope="row"><label for="site-address"><?php _e( 'Site Address' ) ?></label></th>
    144144                        <td>
    145145                        <?php if ( is_subdomain_install() ) { ?>
    146                                 <input name="blog[domain]" type="text" class="regular-text" id="site-address" aria-describedby="site-address-desc" /><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', $current_site->domain ); ?></span>
     146                                <input name="blog[domain]" type="text" class="regular-text" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off"/><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', $current_site->domain ); ?></span>
    147147                        <?php } else {
    148148                                echo $current_site->domain . $current_site->path ?><input name="blog[domain]" type="text" class="regular-text" id="site-address" aria-describedby="site-address-desc" />
    149149                        <?php }