Changeset 6362
- Timestamp:
- 09/29/2012 11:08:53 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.6/bp-settings/bp-settings-actions.php
r6270 r6362 239 239 if ( isset( $_POST['notifications'] ) ) { 240 240 foreach ( (array) $_POST['notifications'] as $key => $value ) { 241 if ( $meta_key = bp_get_user_meta_key( $key ) ) { 242 bp_update_user_meta( (int) bp_displayed_user_id(), $meta_key, $value ); 243 } 241 bp_update_user_meta( (int) bp_displayed_user_id(), $key, $value ); 244 242 } 245 243 }
Note: See TracChangeset
for help on using the changeset viewer.