Skip to:

Opened 4 years ago

Closed 4 years ago

#3093 closed enhancement (invalid)

Filtering New Topic Status – Update Request

Reported by: robcruiz Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5.13
Component: Component - Topics Keywords:


Would it be possible to add a filter to the function that determines the status of a new topic? I understand there is some moderation in place using the word list, topic duplicate, user blacklist, etc. However, I currently have the need to determine the status based on user role. We want all admins and editors to show topics immediately after creation, however, we want subscribers to be set as pending so we can proactively moderate topics (not necessarily replies).

I have added a filter in the core code in order to achieve this. I was wondering if this change could be added to future versions of bbPress. The change is in bbpress>inclues>topics>functions around line 287. It looks like this:

/ Filter Topic Status */

$new_topic_args = array($anonymous_data, $topic_author, $topic_title, $topic_content);

$topic_status = apply_filters('bbp_new_topic_status', $topic_status, $new_topic_args);
Please let me know whether or not this will be implemented, so I know whether or not to update the plugin.


Change History (1)

#1 @thebrandonallen
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.