[wp-trac] [WordPress Trac] #58511: Escaping function missing in wp-trackback.php

WordPress Trac noreply at wordpress.org
Mon Jun 12 06:45:20 UTC 2023


#58511: Escaping function missing in wp-trackback.php
-------------------------------------+-------------------------------
 Reporter:  utsav72640               |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Pings/Trackbacks         |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  coding-standards
-------------------------------------+-------------------------------
Changes (by mukesh27):

 * keywords:  has-patch => has-patch needs-refresh
 * version:  6.2.2 =>


Comment:

 Hi there! thanks for ticket and patch.

 The core use `sanitize_text_field( wp_unslash( $_POST[''] ) );` instead of
 what you propose in your patch.

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


More information about the wp-trac mailing list