[wp-trac] [WordPress Trac] #35006: Comments sent immediately to Trash for matching keyword blacklist should not generate email notifications
WordPress Trac
noreply at wordpress.org
Sun Dec 27 02:56:48 UTC 2015
#35006: Comments sent immediately to Trash for matching keyword blacklist should
not generate email notifications
----------------------------------+-----------------------
Reporter: scottbrownconsulting | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.4.1
Component: Comments | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
----------------------------------+-----------------------
Changes (by peterwilsoncc):
* keywords: needs-patch => has-patch
Comment:
Patch in [attachment:35006.diff]
For the immediate bug, I've added a check against 'trash' to the if
statement mentioned by @scottbrownconsulting.
You may be right about the function needing a tidy-up and worth a seperate
enhancement to target a major release.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35006#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list