[wp-trac] [WordPress Trac] #56116: Need escaping in wp-rest-posts-controller file

WordPress Trac noreply at wordpress.org
Thu Jun 30 19:35:28 UTC 2022

#56116: Need escaping in wp-rest-posts-controller file
 Reporter:  priyankkpatel  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  REST API       |     Version:
 Severity:  normal         |  Resolution:  invalid
 Keywords:                 |     Focuses:
Changes (by TimothyBlynJacobs):

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


 Hi @priyankkpatel,

 Thanks for the ticket!

 However, WordPress Core does not escape it's translations. See

 Further, escaping in this location would be incorrect since escaping
 should be done late.

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

More information about the wp-trac mailing list