Changeset 7586
- Timestamp:
- 11/16/2013 07:52:59 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-settings/bp-settings-actions.php
r7562 r7586 142 142 } 143 143 144 // Make sure these changes are in $bp for the current page load 144 // Clear cached data, so that the changed settings take effect 145 // on the current page load 145 146 if ( ( false === $email_error ) && ( false === $pass_error ) && ( wp_update_user( $update_user ) ) ) { 147 wp_cache_delete( 'bp_core_userdata_' . bp_displayed_user_id(), 'bp' ); 146 148 $bp->displayed_user->userdata = bp_core_get_core_userdata( bp_displayed_user_id() ); 147 149 }
Note: See TracChangeset
for help on using the changeset viewer.