WordPress.org

Make WordPress Core

Changeset 15217


Ignore:
Timestamp:
06/11/10 15:26:11 (4 years ago)
Author:
wpmuguru
Message:

signup username length consistent with user_login field, props niallkennedy, fixes #13842

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-signup.php

    r15199 r15217  
    7777 
    7878    if ( !is_subdomain_install() ) 
    79         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 />'; 
     79        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 />'; 
    8080    else 
    81         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 />'; 
     81        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 />'; 
    8282 
    8383    if ( !is_user_logged_in() ) { 
     
    133133        echo '<p class="error">'.$errmsg.'</p>'; 
    134134    } 
    135     echo '<input name="user_name" type="text" id="user_name" value="'. esc_attr($user_name) .'" maxlength="50" /><br />'; 
     135    echo '<input name="user_name" type="text" id="user_name" value="'. esc_attr($user_name) .'" maxlength="60" /><br />'; 
    136136    _e( '(Must be at least 4 characters, letters and numbers only.)' ); 
    137137    ?> 
Note: See TracChangeset for help on using the changeset viewer.