Skip to content
Browse files

signup username length consistent with user_login field, props niallk…

…ennedy, fixes #13842

git-svn-id: http://svn.automattic.com/wordpress/trunk@15217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent b5838fc commit 4c94266ca0500660f2525c94d71661893defdde6 wpmuguru committed Jun 11, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 wp-signup.php
View
6 wp-signup.php
@@ -76,9 +76,9 @@ function show_blog_form($blogname = '', $blog_title = '', $errors = '') {
<?php }
if ( !is_subdomain_install() )
- echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span><input name="blogname" type="text" id="blogname" value="'. esc_attr($blogname) .'" maxlength="50" /><br />';
+ echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span><input name="blogname" type="text" id="blogname" value="'. esc_attr($blogname) .'" maxlength="60" /><br />';
else
- echo '<input name="blogname" type="text" id="blogname" value="'.esc_attr($blogname).'" maxlength="50" /><span class="suffix_address">.' . ( $site_domain = preg_replace( '|^www\.|', '', $current_site->domain ) ) . '</span><br />';
+ echo '<input name="blogname" type="text" id="blogname" value="'.esc_attr($blogname).'" maxlength="60" /><span class="suffix_address">.' . ( $site_domain = preg_replace( '|^www\.|', '', $current_site->domain ) ) . '</span><br />';
if ( !is_user_logged_in() ) {
print '(<strong>' . __( 'Your address will be ' );
@@ -132,7 +132,7 @@ function show_user_form($user_name = '', $user_email = '', $errors = '') {
if ( $errmsg = $errors->get_error_message('user_name') ) {
echo '<p class="error">'.$errmsg.'</p>';
}
- echo '<input name="user_name" type="text" id="user_name" value="'. esc_attr($user_name) .'" maxlength="50" /><br />';
+ echo '<input name="user_name" type="text" id="user_name" value="'. esc_attr($user_name) .'" maxlength="60" /><br />';
_e( '(Must be at least 4 characters, letters and numbers only.)' );
?>

0 comments on commit 4c94266

Please sign in to comment.
Something went wrong with that request. Please try again.