[wp-trac] [WordPress Trac] #49956: Spammers able to share unmoderated comments

WordPress Trac noreply at wordpress.org
Wed May 27 09:24:20 UTC 2020


#49956: Spammers able to share unmoderated comments
--------------------------------------+----------------------------
 Reporter:  jonkolbert                |       Owner:  peterwilsoncc
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  5.4.2
Component:  Comments                  |     Version:  5.1
 Severity:  major                     |  Resolution:
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+----------------------------

Comment (by peterwilsoncc):

 [attachment:"49956.2.diff"] includes feedback on the pull request.

 * `Cache-control` and `Expires` HTTP headers used in response for
 unapproved comments.

 I realised I made a key typo on my previous comment around ensuring only
 single requested comment is displayed...

 If a user posts a reply to their own unmoderated comment, **neither** the
 parent or new comment will display. The new comment is considered an
 orphan and the comment walker discards it. I don't know of a good fix for
 this, suggestions are welcome.

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


More information about the wp-trac mailing list