Make WordPress Core

Changeset 2628


Ignore:
Timestamp:
06/10/2005 11:33:58 PM (19 years ago)
Author:
matt
Message:

Adding profile update hook, fixes #1434

File:
1 edited

Legend:

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

    r2439 r2628  
    8686
    8787    $result = $wpdb->query("UPDATE $wpdb->users SET user_firstname='$newuser_firstname', $updatepassword user_lastname='$newuser_lastname', user_nickname='$newuser_nickname', user_icq='$newuser_icq', user_email='$newuser_email', user_url='$newuser_url', user_aim='$newuser_aim', user_msn='$newuser_msn', user_yim='$newuser_yim', user_idmode='$newuser_idmode', user_description = '$user_description', user_nicename = '$newuser_nicename' WHERE ID = $user_ID");
     88
     89    do_action('profile_update', $user_ID);
    8890
    8991    wp_redirect('profile.php?updated=true');
Note: See TracChangeset for help on using the changeset viewer.