Changeset 6438 for trunk/src/includes/forums/capabilities.php
- Timestamp:
- 05/27/2017 05:04:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/capabilities.php
r6426 r6438 19 19 */ 20 20 function bbp_get_forum_caps() { 21 return apply_filters( 'bbp_get_forum_caps', array ( 21 22 // Filter & return 23 return (array) apply_filters( 'bbp_get_forum_caps', array ( 22 24 'edit_posts' => 'edit_forums', 23 25 'edit_others_posts' => 'edit_others_forums', … … 200 202 } 201 203 202 return apply_filters( 'bbp_map_forum_meta_caps', $caps, $cap, $user_id, $args ); 204 // Filter & return 205 return (array) apply_filters( 'bbp_map_forum_meta_caps', $caps, $cap, $user_id, $args ); 203 206 } 204 207
Note: See TracChangeset
for help on using the changeset viewer.