Changeset 10232 for trunk/src/bp-xprofile/bp-xprofile-admin.php
- Timestamp:
- 10/10/2015 04:13:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-admin.php
r10229 r10232 888 888 } 889 889 890 $is_required[ $field_id ] = xprofile_check_is_required_field( $field_id ) ;890 $is_required[ $field_id ] = xprofile_check_is_required_field( $field_id ) && ! bp_current_user_can( 'bp_moderate' ); 891 891 if ( $is_required[ $field_id ] && empty( $_POST['field_' . $field_id ] ) ) { 892 892 $redirect_to = add_query_arg( 'error', '2', $redirect_to );
Note: See TracChangeset
for help on using the changeset viewer.