Skip to:
Content

bbPress.org

Ticket #3493: 3493.patch

File 3493.patch, 432 bytes (added by naxoc, 18 months ago)
  • src/includes/core/capabilities.php

     
    285285 */
    286286function bbp_add_forums_roles( $wp_roles = null ) {
    287287
     288        if ( null === $wp_roles ) {
     289                $wp_roles = wp_roles();
     290        }
     291
    288292        // Get the dynamic roles
    289293        $bbp_roles = bbp_get_dynamic_roles();
    290294