Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/06/2013 05:52:42 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Add _doing_it_wrong() feedback to bp_setup_current_user(), to help debug role and capability issues when the current user is prematurely loaded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-actions.php

    r6762 r6765  
    3535add_action( 'init',                    'bp_init',                   10    );
    3636add_action( 'wp',                      'bp_ready',                  10    );
     37add_action( 'set_current_user',        'bp_setup_current_user',     10    );
    3738add_action( 'setup_theme',             'bp_setup_theme',            10    );
    3839add_action( 'after_setup_theme',       'bp_after_setup_theme',      10    );
Note: See TracChangeset for help on using the changeset viewer.