WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #24169, comment 3


Ignore:
Timestamp:
04/24/13 17:54:42 (12 months ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24169, comment 3

    v2 v3  
    33The issues are two fold, like you've mentioned: 
    44* Per-user language settings can't load the correct locale. 
    5 * The user is loaded before either themes' functions.php can be loaded, resulting in anything hooked to user actions/filters ('set_current_user' for example) not executing, because the load order is reversed. 
     5* The user is loaded before either themes' functions.php can be loaded, resulting in anything hooked to user actions/filters ('set_current_user' for example) from those functions.php files not executing, because the load order is reversed and the hooks are added after the action has already fired. 
    66 
    77''#BB2309 is referencing a _doing_it_wrong() added to the current versions of bbPress/BuddyPress; it alerts site admins when 'set_current_user' is fired before 'after_setup_theme'.''