Make WordPress Core

Changeset 2829


Ignore:
Timestamp:
08/30/2005 11:21:25 PM (19 years ago)
Author:
matt
Message:

Fixes #1567 for 1.6

File:
1 edited

Legend:

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

    r2796 r2829  
    149149    if(count($errors) == 0) {   
    150150        $user_ID = create_user( $new_user_login, $new_pass1, $new_user_email, 0 );
    151    
     151
    152152        update_usermeta( $user_ID, 'first_name', $new_user_firstname);
    153153        update_usermeta( $user_ID, 'last_name', $new_user_lastname);
     
    167167   
    168168        @wp_mail(get_settings('admin_email'), sprintf(__('[%s] New User Registration'), get_settings('blogname')), $message);
     169
     170        do_action('user_register', $user_id);
     171
    169172        header('Location: users.php?update=add');
    170173        die();
Note: See TracChangeset for help on using the changeset viewer.