[wp-trac] [WordPress Trac] #57539: Missing escaping in admin comment list file

WordPress Trac noreply at wordpress.org
Tue Jan 24 08:37:22 UTC 2023


#57539: Missing escaping in admin comment list file
--------------------------+----------------------
 Reporter:  aniketpatel   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:  has-patch     |     Focuses:
--------------------------+----------------------
Changes (by mukesh27):

 * status:  new => closed
 * resolution:   => invalid
 * component:  General => Comments
 * milestone:  Awaiting Review =>


Comment:

 Thanks @aniketpatel, for the ticket and patch.

 All the variables mentioned in PR are already escaped:
 https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-
 admin/includes/class-wp-comments-list-table.php#L684-L690 so I don't think
 it needs to escape again.

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


More information about the wp-trac mailing list