Changeset 6438 for trunk/src/includes/replies/capabilities.php
- Timestamp:
- 05/27/2017 05:04:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/capabilities.php
r6384 r6438 19 19 */ 20 20 function bbp_get_reply_caps() { 21 return apply_filters( 'bbp_get_reply_caps', array ( 21 22 // Filter & return 23 return (array) apply_filters( 'bbp_get_reply_caps', array ( 22 24 'edit_posts' => 'edit_replies', 23 25 'edit_others_posts' => 'edit_others_replies', … … 207 209 } 208 210 209 return apply_filters( 'bbp_map_reply_meta_caps', $caps, $cap, $user_id, $args ); 211 // Filter & return 212 return (array) apply_filters( 'bbp_map_reply_meta_caps', $caps, $cap, $user_id, $args ); 210 213 }
Note: See TracChangeset
for help on using the changeset viewer.