Changeset 4291
- Timestamp:
- 11/02/2012 06:36:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/core/capabilities.php
r4290 r4291 18 18 * Whether or not to show advanced capability editing when editing a user. 19 19 * 20 * @param type $default 21 * @return type 20 * @since bbPress (r4290) 21 * 22 * @param bool $default 23 * @return bool 22 24 */ 23 25 function bbp_use_advanced_capability_editor( $default = false ) { 24 return apply_filters( 'bbp_use_advanced_capability_editor', $default );26 return (bool) apply_filters( 'bbp_use_advanced_capability_editor', $default ); 25 27 } 26 28
Note: See TracChangeset
for help on using the changeset viewer.