back to the “BBP sub forums list issue”
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘back to the “BBP sub forums list issue”’ is closed to new replies.