[wp-trac] [WordPress Trac] #49160: REST API: Characters escaped in response

WordPress Trac noreply at wordpress.org
Thu Jan 9 16:48:46 UTC 2020


#49160: REST API: Characters escaped in response
-------------------------------+------------------------------
 Reporter:  wpfed              |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:  4.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  rest-api
-------------------------------+------------------------------
Changes (by TimothyBlynJacobs):

 * keywords:   => reporter-feedback
 * version:  5.3.2 => 4.7


Comment:

 Hi @wpfed,

 Thanks for the ticket! Could you provide a minimal reproducible test case?
 When I call `wp_json_encode` for `'test’s'` I get back `"test\u2019s"`.

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


More information about the wp-trac mailing list