Skip to:
Content

bbPress.org

Changeset 4374


Ignore:
Timestamp:
11/09/2012 03:53:07 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Capabilities:

  • Since bbp_set_current_user_default_role() is directly hooked to switch_blog, add deactivation check to prevent php warnings.
  • See #1939.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/users/capabilities.php

    r4370 r4374  
    174174
    175175    /** Sanity ****************************************************************/
     176
     177    // Bail if deactivating bbPress
     178    if ( bbp_is_deactivation() )
     179        return;
    176180
    177181    // Bail if not logged in or already a member of this site
Note: See TracChangeset for help on using the changeset viewer.