Changeset 7088 for trunk/src/includes/admin/classes/class-bbp-admin.php
- Timestamp:
- 05/28/2020 04:24:34 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/classes/class-bbp-admin.php
r7070 r7088 586 586 // Loop through fields for this section 587 587 foreach ( (array) $fields as $field_id => $field ) { 588 589 // Skip field if user is not capable 590 if ( ! empty( $field['capability'] ) && ! current_user_can( $field['capability'] ) ) { 591 continue; 592 } 588 593 589 594 // Add the field
Note: See TracChangeset
for help on using the changeset viewer.