Changeset 5853
- Timestamp:
- 07/15/2015 10:31:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/functions.php
r5829 r5853 792 792 } 793 793 794 // Bail if author is keymaster 795 if ( ! empty( $author_id ) && bbp_is_user_keymaster( $author_id ) ) { 794 // Bail if user can moderate 795 // https://bbpress.trac.wordpress.org/ticket/2726 796 if ( ! empty( $author_id ) && user_can( $author_id, 'moderate' ) ) { 796 797 return true; 797 798 }
Note: See TracChangeset
for help on using the changeset viewer.