Changes between Version 3 and Version 4 of Ticket #24169, comment 3
- Timestamp:
- 04/24/2013 05:55:17 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24169, comment 3
v3 v4 5 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. 6 6 7 ''#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' .''7 ''#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' has fired.'' 8 8 9 9 ''When the above happens, it puts sites at risk of critical on-the-fly procedures introduced by plugins being missed (like mapped roles and capabilities) related to #23016, because there's no other reliable time to hook into WP_Roles.'''