Skip to:

Opened 4 weeks ago

Last modified 4 weeks ago

#3309 assigned defect

Allow moderators to reply to pending topics

Reported by: dd32 Owned by: johnjamesjacoby
Milestone: 2.6.4 Priority: high
Severity: normal Version:
Component: API - Moderation Keywords: has-patch needs-testing


While looking into I found what I think is a bug in bbPress.

It looks like bbp_current_user_can_access_create_reply_form() only checks if the moderator can edit the reply, but in the case of a pending topic without any replies, there's no reply object to check against.

Attached patch seems to work, but I have no idea if it's correct or how it should be done.

Attachments (1)

3309.diff (1.3 KB) - added by dd32 4 weeks ago.

Download all attachments as: .zip

Change History (3)

4 weeks ago

#1 @dd32
4 weeks ago

  • Keywords has-patch needs-testing added

I didn't check to see if the patch fully works, only that it showed the reply form, not that it actually worked..

#2 @johnjamesjacoby
4 weeks ago

  • Component changed from General to API - Moderation
  • Milestone changed from Awaiting Review to 2.6.4
  • Owner set to johnjamesjacoby
  • Priority changed from normal to high
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.