Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/09/2012 09:26:57 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Capabilities:

  • Introduce two helper functions: bbp_filter_user_roles_option() and _bbp_reinit_dynamic_roles()
  • Fixes bug where switching to a new blog would wipe out dynamically loaded roles.
  • Filter the *_user_roles option, and add bbPress's roles to it.
  • See #1939.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/core/actions.php

    r4360 r4364  
    6969add_action( 'bbp_loaded', 'bbp_register_theme_packages',   14 );
    7070add_action( 'bbp_loaded', 'bbp_load_textdomain',           16 );
     71add_action( 'bbp_loaded', 'bbp_filter_user_roles_option',  18 );
    7172
    7273/**
Note: See TracChangeset for help on using the changeset viewer.