[wp-trac] [WordPress Trac] #37093: dupe comment check should use AND instead of OR condition in sql query
WordPress Trac
noreply at wordpress.org
Wed Jun 15 03:42:34 UTC 2016
#37093: dupe comment check should use AND instead of OR condition in sql query
--------------------------------------+------------------
Reporter: yashchandra | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Comments | Version: 2.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Changes (by rachelbaker):
* keywords: => has-patch has-unit-tests
* version: 4.5.2 => 2.0
* milestone: Awaiting Review => 4.6
Comment:
In [attachment:37093.diff] do not flag as a duplicate comment if the
`comment_author_email` is provided and doesn't match. This reduces the
strictness of the duplicate check a little, but does prevent false
duplicates for emoji or `+1` comments by authors with matching names.
The current logic was introduced all the way back in [2894].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37093#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list