Support » Plugin: Private groups » back to the “BBP sub forums list issue”

  • Resolved jyd44


    In the file forum_filters.php, the function “private_groups_get_permitted_subforums” is installed on the filter ‘bbp_forum_get_subforums’ with 2 parameters, while the filter itself is applied using three parameters (at least in bbPress 2.6.4).

    Another point concerning this function: A test is performed to check if the second parameter is an array or not, while in the functions.php file, this function is called with only one parameter, the forum_id. The correct test should be :

    if ( is_numeric( $sub_forums ) ) $args = array( 'post_parent' => $sub_forums );

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Robin W


    thanks for spotting that.

    the 2.5 version had only 2 parameters, the 2.6 had 3 – I’ll need to code for both versions

    I’ll take a detailed look later

    Plugin Author Robin W


    should now be ok in 3.8.3

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘back to the “BBP sub forums list issue”’ is closed to new replies.