BUG in wp-admin
If you are logged in as Administrator and there are private/hidden forums, on the forums page there are listed all available post statuses in wordpress even if there are no posts.
This is caused by the filter ‘bbp_pre_get_posts_normalize_forum_visibility’.
IT checks for
but initial this variable is not set.
Please fix that. I made a temporary fix including condition
( isset( $_REQUEST['post_status']) || current_user_can( 'administrator') )
- You must be logged in to reply to this topic.