Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/14/2012 07:26:40 PM (13 years ago)
Author:
johnjamesjacoby
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-settings/bp-settings-actions.php

    r5729 r5785  
    8787            // Not a password change attempt so empty the user_pass
    8888            } else {
    89                 unset( $update_user->user_pass );
     89                // unset( $update_user->user_pass ); // WP_User has no __unset()
     90                $update_user->user_pass = null;
    9091            }
    9192
Note: See TracChangeset for help on using the changeset viewer.