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

WordPress Trac noreply at wordpress.org
Wed May 27 22:47:17 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):

 Replying to [comment:28 peterwilsoncc]:
 > 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.
 >

 Night brain come up with a solution: hide the reply button on unapproved
 comment if it's displayed due to the moderation hash.

 Replying to an unmoderated comment risks a comment that can never be
 displayed (reply is approved, parent is not) so it's arguable that it
 should never be displayed but that's beyond the scope of this ticket.

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


More information about the wp-trac mailing list