Ticket #21994: wp-subdomain-maxlength-REV1.diff
File wp-subdomain-maxlength-REV1.diff, 950 bytes (added by , 12 years ago) |
---|
-
wp-admin/network/site-new.php
123 123 <th scope="row"><?php _e( 'Site Address' ) ?></th> 124 124 <td> 125 125 <?php if ( is_subdomain_install() ) { ?> 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>126 <input name="blog[domain]" type="text" class="regular-text" title="<?php esc_attr_e( 'Domain' ) ?>" maxlength="63"/><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', $current_site->domain ); ?></span> 127 127 <?php } else { 128 128 echo $current_site->domain . $current_site->path ?><input name="blog[domain]" class="regular-text" type="text" title="<?php esc_attr_e( 'Domain' ) ?>"/> 129 129 <?php }