WordPress.org

Make WordPress Core

Changeset 11950


Ignore:
Timestamp:
09/18/09 20:47:24 (5 years ago)
Author:
westi
Message:

Fix user creation from admin after changes for #10751. Fixes #10811 props alexkingorg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/user.php

    r11929 r11950  
    6767 
    6868    if ( !$update && isset( $_POST['user_login'] ) ) 
    69         $user->user_login = sanitize_user($userdata['user_login'], true); 
     69        $user->user_login = sanitize_user($_POST['user_login'], true); 
    7070 
    7171    $pass1 = $pass2 = ''; 
Note: See TracChangeset for help on using the changeset viewer.