Skip to:
Content

bbPress.org

Changeset 4312


Ignore:
Timestamp:
11/03/2012 07:08:17 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Capabilities:

  • Use bbp_get_current_user_id() in bbp_set_current_user_default_role().
  • See #1939.
File:
1 edited

Legend:

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

    r4311 r4312  
    247247
    248248    // Get the current user ID
    249     $user_id = get_current_user_id();
     249    $user_id = bbp_get_current_user_id();
    250250
    251251    // Bail if user already has a forums role
Note: See TracChangeset for help on using the changeset viewer.