Changeset 6361
- Timestamp:
- 09/29/2012 11:06:51 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-settings/bp-settings-actions.php
r6317 r6361 242 242 if ( isset( $_POST['notifications'] ) ) { 243 243 foreach ( (array) $_POST['notifications'] as $key => $value ) { 244 if ( $meta_key = bp_get_user_meta_key( $key ) ) { 245 bp_update_user_meta( (int) bp_displayed_user_id(), $meta_key, $value ); 246 } 244 bp_update_user_meta( (int) bp_displayed_user_id(), $key, $value ); 247 245 } 248 246 }
Note: See TracChangeset
for help on using the changeset viewer.