Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/22/2012 01:04:58 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Move 'bbp_setup_current_user' action off of 'bbp_init' and onto 'set_current_user.' See #1722.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-core-hooks.php

    r3685 r3689  
    4848add_action( 'template_redirect',      'bbp_template_redirect',      10 );
    4949add_filter( 'template_include',       'bbp_template_include',       10 );
     50add_action( 'set_current_user',       'bbp_setup_current_user',     10 );
    5051
    5152/**
     
    7172add_action( 'bbp_init', 'bbp_load_textdomain',        2   );
    7273add_action( 'bbp_init', 'bbp_setup_option_filters',   4   );
    73 add_action( 'bbp_init', 'bbp_setup_current_user',     6   );
    7474add_action( 'bbp_init', 'bbp_setup_theme_compat',     8   );
    7575add_action( 'bbp_init', 'bbp_register_post_types',    10  );
     
    641641}
    642642
    643 /** Supplemental Actions ******************************************************/
    644 
    645643/**
    646644 * Setup the currently logged-in user
     
    654652}
    655653
     654/** Supplemental Actions ******************************************************/
     655
    656656/**
    657657 * Load translations for current language
Note: See TracChangeset for help on using the changeset viewer.