[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 14:50:40 UTC 2016


#37093: dupe comment check should use AND instead of OR condition in sql query
--------------------------------------+--------------------------
 Reporter:  yashchandra               |       Owner:  rachelbaker
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.6
Component:  Comments                  |     Version:  2.0
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------
Changes (by rachelbaker):

 * owner:   => rachelbaker
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37713"]:
 {{{
 #!CommitTicketReference repository="" revision="37713"
 Comments: Do not flag a comment as a duplicate if the
 `comment_author_email` is provided but not a 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].

 Fixes #37093.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37093#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list