hmm – you’ll need to help me on this one
1. I presume you mean on upgrade from 3.4.8 to 3.4.9 ??
the filter is still there in forum_filters on 3.4.9
add_filter(‘bbp_before_has_forums_parse_args’, ‘private_groups_forums’, 10, 2);
can you point to where this has changed for you?
-
This reply was modified 9 years ago by
Robin W.
I am currently developing a site and did a fresh install of bbpress and your plugin. I had a single forum for “group 1”, and did some tests if things were working correctly. I made a sockpuppet account that I explicitly did not assign any groups to, and had the setting enabled that it won’t try to assign any group either.
In any case, it still displayed that forum for my sockpuppet user. Placing an exit; statement in that particular function did not cause the execution to be stopped, which suggested that it did not run at all. I can’t find any mention of that filter in the bbpress code anymore, except for a deprecated warning that one should use bbp_parse_args.
Since I needed to change some templates I simply placed an extra check in the forum-loop template and continued, but when I test it now it does seem to filter correctly. I am not quite sure what was the underlying problem that caused a hidden forum to be displayed, because I am now unable to reproduce it.
no problem – if you get the issue again, please do some back, and I’ll work with you to resolve