Skip to:
Content

BuddyPress.org

Changeset 5786


Ignore:
Timestamp:
02/14/2012 07:28:32 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Fix bug with accidentally unsetting user passwords in some installs. Fixes #4010 (1.5 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-settings/bp-settings-actions.php

    r5631 r5786  
    8484                        // Not a password change attempt so empty the user_pass
    8585                        } else {
    86                                 unset( $update_user->user_pass );
     86                                // unset( $update_user->user_pass ); // WP_User has no __unset()
     87                                $update_user->user_pass = null;
    8788                        }
    8889
Note: See TracChangeset for help on using the changeset viewer.