- Timestamp:
- 01/28/2018 05:03:59 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type.php
r11127 r11834 511 511 if ( bp_get_the_profile_field_is_required() ) { 512 512 $r['aria-required'] = 'true'; 513 514 // Moderators can bypass field requirements. 515 if ( ! bp_current_user_can( 'bp_moderate' ) ) { 516 $r[] = 'required'; 517 } 513 518 } 514 519
Note: See TracChangeset
for help on using the changeset viewer.