Changeset 11107
- Timestamp:
- 09/16/2016 08:47:12 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-caps.php
r11058 r11107 277 277 } 278 278 279 /** This filter is documented in /bp-core/bp-core-template.php */ 280 $current_user_id = apply_filters( 'bp_loggedin_user_id', get_current_user_id() ); 281 279 282 // Call bp_user_can(). 280 $retval = bp_user_can( bp_loggedin_user_id(), $capability, $args );283 $retval = bp_user_can( $current_user_id, $capability, $args ); 281 284 282 285 /**
Note: See TracChangeset
for help on using the changeset viewer.