Skip to:
Content

bbPress.org

Changeset 4360 for trunk/bbpress.php


Ignore:
Timestamp:
11/08/2012 07:50:55 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Capabilities:

  • Only setup the default current user role when the current user has been byref copied into bbPress's instance.
  • Fixes issue where some core actions are suppressed during the deactivation process, causing an action order conflict with current_user.
  • Fixes #1939.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bbpress.php

    r4357 r4360  
    822822    public function setup_current_user() {
    823823        $this->current_user = &wp_get_current_user();
     824
     825        // Setup the default user role
     826        bbp_set_current_user_default_role();
    824827    }
    825828
Note: See TracChangeset for help on using the changeset viewer.