Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/28/2011 05:58:45 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Set $bbp->current_user as byref of $current_user.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbpress.php

    r3376 r3379  
    470470        // Add the actions
    471471        foreach( $actions as $class_action )
    472             add_action( 'bbp_' . $class_action, array( $this, $class_action ), 10 );
     472            add_action( 'bbp_' . $class_action, array( $this, $class_action ), 5 );
    473473    }
    474474
     
    868868     */
    869869    public function setup_current_user() {
    870         $this->current_user = wp_get_current_user();
     870        $this->current_user = &wp_get_current_user();
    871871    }
    872872
Note: See TracChangeset for help on using the changeset viewer.