Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/28/2011 06:01:53 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Introduce bbp_global_access_role_mask() to assign the default_role and meta-caps to the current user when viewing a global forum in a multisite installation. Say that three times fast.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-core-hooks.php

    r3376 r3380  
    6969add_action( 'bbp_init', 'bbp_add_rewrite_tags',       20  );
    7070add_action( 'bbp_init', 'bbp_ready',                  999 );
     71
     72// Multisite Global Forum Access
     73add_action( 'bbp_setup_current_user', 'bbp_global_access_role_mask'  );
    7174
    7275// Theme Compat
Note: See TracChangeset for help on using the changeset viewer.