[wp-trac] [WordPress Trac] #47188: Ensure that valid json is return for rest api, even when correct headers not sent.

WordPress Trac noreply at wordpress.org
Sun Mar 29 22:42:29 UTC 2020


#47188: Ensure that valid json is return for rest api, even when correct headers
not sent.
----------------------------------+------------------------------
 Reporter:  spacedmonkey          |       Owner:  (none)
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  REST API              |     Version:  4.4
 Severity:  normal                |  Resolution:
 Keywords:  servehappy has-patch  |     Focuses:  rest-api
----------------------------------+------------------------------

Comment (by spacedmonkey):

 Updated patch based on @TimothyBlynJacobs 's feedback.

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


More information about the wp-trac mailing list