How comments_open() function operates in bbpress topics
I was fixing a certain existing WP plugin to my taste to make it work in bbpress, and experienced comments_open() function is not stably working in bbpress.
In most cases it returned true in open topics/replies. but in less than 5% cases it returned false although the topic was open and making replies were available..
I just replaced comments_open() function to (is_user_logged_in() && is_bbpress()) and it worked fine. (Thank you for this function!)
I don’t think it’s not much important in using bbpress, but just curious to know how comments_open() function works in bbpress if it’s not too complicated.
You must be logged in to reply to this topic.