Make WordPress Core


Ignore:
Timestamp:
04/29/2013 01:25:15 PM (11 years ago)
Author:
nacin
Message:

delete_user_setting() and remove_action() were getting called with too many args. props rlerdorf. see #24210.

File:
1 edited

Legend:

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

    r23634 r24125  
    348348
    349349    if ( $new_data->user_pass != $old_data->user_pass ) { //Remove the nag if the password has been changed.
    350         delete_user_setting('default_password_nag', $user_ID);
     350        delete_user_setting('default_password_nag');
    351351        update_user_option($user_ID, 'default_password_nag', false, true);
    352352    }
Note: See TracChangeset for help on using the changeset viewer.