Project

General

Profile

Bug #1989 » wp-subdomain-maxlength-REV1.diff

Dominic Giglio, 2012-09-24 11:19 PM

View differences:

wp-admin/css/wp-admin.css (working copy)
3394 3394
.form-field textarea {
3395 3395
	border-style: solid;
3396 3396
	border-width: 1px;
3397
	width: 95%;
3397
	width: 75%;
3398 3398
}
3399 3399

  
3400 3400
p.description,
wp-admin/network/site-new.php (working copy)
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 }
(2-2/4)