Changeset 10232 for trunk/src/bp-members/bp-members-screens.php
- Timestamp:
- 10/10/2015 04:13:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/bp-members-screens.php
r10219 r10232 144 144 145 145 // Create errors for required fields without values 146 if ( xprofile_check_is_required_field( $field_id ) && empty( $_POST[ 'field_' . $field_id]) )146 if ( xprofile_check_is_required_field( $field_id ) && empty( $_POST[ 'field_' . $field_id ] ) && ! bp_current_user_can( 'bp_moderate' ) ) 147 147 $bp->signup->errors['field_' . $field_id] = __( 'This is a required field', 'buddypress' ); 148 148 }
Note: See TracChangeset
for help on using the changeset viewer.