Opened 17 months ago

Last modified 17 months ago

#19739 new enhancement

Filter to override exit for comments on drafts (comment_on_draft)

Reported by: cyberhobo Owned by:
Priority: normal Milestone: Awaiting Review
Component: Comments Version: 3.3
Severity: normal Keywords: dev-feedback has-patch
Cc: cyberhobo@…

Description

I'd like to use comments on draft posts as part of an editorial workflow. Will this be as easy as adding a filter to fire before the current comment_on_draft action that can be checked before exiting? I'll try that and add a patch if it looks good.

Related #13276. Not relevant to #18630, I think.

Attachments (1)

19739.diff (769 bytes) - added by cyberhobo 17 months ago.
Added a post id parameter and similar filter for comments on trashed posts.

Download all attachments as: .zip

Change History (2)

Added a post id parameter and similar filter for comments on trashed posts.

  • Keywords has-patch added

My simple solution works for my use case, and seems pretty low impact. How bout it?

Last edited 14 months ago by cyberhobo (previous) (diff)
Note: See TracTickets for help on using tickets.