Changeset 10329 for trunk/src/bp-settings/bp-settings-actions.php
- Timestamp:
- 11/11/2015 03:22:53 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-settings/bp-settings-actions.php
r10137 r10329 304 304 check_admin_referer( 'bp_settings_notifications' ); 305 305 306 if ( isset( $_POST['notifications'] ) ) { 307 foreach ( (array) $_POST['notifications'] as $key => $value ) { 308 bp_update_user_meta( (int) bp_displayed_user_id(), $key, $value ); 309 } 310 } 306 bp_settings_update_notification_settings( bp_displayed_user_id(), (array) $_POST['notifications'] ); 311 307 312 308 // Switch feedback for super admins
Note: See TracChangeset
for help on using the changeset viewer.