Changeset 6787
- Timestamp:
- 03/26/2018 03:39:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/functions.php
r6786 r6787 76 76 * @since 2.0.0 bbPress (r3325) 77 77 * 78 * @param string $cap Capability used to ensure user can view all 79 * 78 80 * @return bool Whether current user can and is viewing all 79 81 */ … … 82 84 83 85 // Filter & return 84 return apply_filters( 'bbp_get_view_all', (bool) $retval);86 return (bool) apply_filters( 'bbp_get_view_all', (bool) $retval, $cap ); 85 87 } 86 88
Note: See TracChangeset
for help on using the changeset viewer.