Changes between Version 1 and Version 2 of Ticket #2210, comment 3
- Timestamp:
- 02/13/2013 06:30:43 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2210, comment 3
v1 v2 7 7 * wp_get_current_user() is called all over the place, including switch_to_blog(), which might be where the problem is. 8 8 9 Unfortunately, a/b/c aren't options, because the problem that auto-role'ing solves is users not having adequate caps when (or rather before) the first visit t he site has hit the template loader.9 Unfortunately, a/b/c aren't options, because the problem that auto-role'ing solves is users not having adequate caps when (or rather before) the first visit to the site hits the template loader. We want the caps preloaded, so that toolbars and other cap checks are accurate. 10 10 11 11 Fundamentally, this is a WordPress core issue with the WP_Roles global creation and reinitialization. That said, turning off "Auto role" in bbPress's forums settings is an easy way around this for now.