Make WordPress Core


Ignore:
Timestamp:
03/13/2005 05:06:18 PM (20 years ago)
Author:
ryan
Message:

Change login noun to Username. http://mosquito.wordpress.org/view.php?id=1088 Props: Albert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r2425 r2437  
    3333    $user_uri       = wp_specialchars($_POST['uri']);
    3434       
    35     /* checking login has been typed */
     35    /* checking that username has been typed */
    3636    if ($user_login == '')
    37         die (__('<strong>ERROR</strong>: Please enter a login.'));
     37        die (__('<strong>ERROR</strong>: Please enter a username.'));
    3838
    3939    /* checking the password has been typed twice */
     
    4848    $user_nickname = $user_login;
    4949
    50     /* checking the login isn't already used by another user */
     50    /* checking that the username isn't already used by another user */
    5151    $loginthere = $wpdb->get_var("SELECT user_login FROM $wpdb->users WHERE user_login = '$user_login'");
    5252    if ($loginthere)
    53         die (__('<strong>ERROR</strong>: This login is already registered, please choose another one.'));
     53        die (__('<strong>ERROR</strong>: This username is already registered, please choose another one.'));
    5454
    5555    /* checking e-mail address */
     
    8383    $user_login = stripslashes($user_login);
    8484    $message  = 'New user registration on your blog ' . get_settings('blogname') . ":\r\n\r\n";
    85     $message .= "Login: $user_login\r\n\r\nE-mail: $user_email";
     85    $message .= "Username: $user_login\r\n\r\nE-mail: $user_email";
    8686
    8787    @wp_mail(get_settings('admin_email'), '[' . get_settings('blogname') . '] New User Registration', $message);
Note: See TracChangeset for help on using the changeset viewer.