Changeset 13393 for trunk/src/bp-xprofile/screens/edit.php
- Timestamp:
- 01/06/2023 11:51:53 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/screens/edit.php
r13392 r13393 65 65 66 66 // There are errors. 67 if ( ! empty( $errors ) ) {67 if ( ! empty( $errors ) ) { 68 68 bp_core_add_message( __( 'Your changes have not been saved. Please fill in all required fields, and save your changes again.', 'buddypress' ), 'error' ); 69 69 … … 81 81 $value = isset( $_POST[ 'field_' . $field_id ] ) ? $_POST[ 'field_' . $field_id ] : ''; 82 82 83 $visibility_level = ! empty( $_POST[ 'field_' . $field_id . '_visibility' ] ) ? $_POST[ 'field_' . $field_id . '_visibility' ] : 'public';83 $visibility_level = ! empty( $_POST[ 'field_' . $field_id . '_visibility' ] ) ? $_POST[ 'field_' . $field_id . '_visibility' ] : 'public'; 84 84 85 85 // Save the old and new values. They will be … … 149 149 150 150 // Set the feedback messages. 151 if ( ! empty( $errors ) ) {151 if ( ! empty( $errors ) ) { 152 152 bp_core_add_message( __( 'There was a problem updating some of your profile information. Please try again.', 'buddypress' ), 'error' ); 153 153 } else {
Note: See TracChangeset
for help on using the changeset viewer.