Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/09/2016 07:30:14 AM (9 years ago)
Author:
johnjamesjacoby
Message:

Roles: Port bbp_roles_init() from trunk to 2.5 branch. See: #3028.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/includes/core/sub-actions.php

    r6120 r6147  
    131131function bbp_widgets_init() {
    132132    do_action( 'bbp_widgets_init' );
     133}
     134
     135/**
     136 * Initialize roles
     137 *
     138 * @since bbPress (r3389)
     139 *
     140 * @param WP_Roles $wp_roles The main WordPress roles global
     141 *
     142 * @uses do_action() Calls 'bbp_roles_init'
     143 */
     144function bbp_roles_init( $wp_roles = null ) {
     145    do_action( 'bbp_roles_init', $wp_roles );
    133146}
    134147
Note: See TracChangeset for help on using the changeset viewer.