Skip to:
Content

bbPress.org

Changes between Version 1 and Version 2 of Ticket #2210, comment 3


Ignore:
Timestamp:
02/13/2013 06:30:43 PM (9 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2210, comment 3

    v1 v2  
    77* wp_get_current_user() is called all over the place, including switch_to_blog(), which might be where the problem is.
    88
    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 the site has hit the template loader.
     9Unfortunately, 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.
    1010
    1111Fundamentally, 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.