Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/14/2013 10:16:12 AM (8 years ago)
Author:
johnjamesjacoby
Message:

Use correct $_user_id variable in user_can() check in bbp_is_user_keymaster(). Props imath. Fixes #2256.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/users/capabilities.php

    r4783 r4797  
    641641
    642642    // Filter and return
    643     return (bool) apply_filters( 'bbp_is_user_keymaster', user_can( $user_id, 'keep_gate' ), $_user_id, $user_id );
     643    return (bool) apply_filters( 'bbp_is_user_keymaster', user_can( $_user_id, 'keep_gate' ), $_user_id, $user_id );
    644644}
    645645
Note: See TracChangeset for help on using the changeset viewer.