[wp-trac] [WordPress Trac] #34999: Calling wp_die() in a REST API request should return valid JSON

WordPress Trac noreply at wordpress.org
Tue Feb 16 04:26:04 UTC 2016


#34999: Calling wp_die() in a REST API request should return valid JSON
----------------------------------------+----------------------
 Reporter:  joehoyle                    |       Owner:
     Type:  enhancement                 |      Status:  closed
 Priority:  normal                      |   Milestone:
Component:  REST API                    |     Version:  4.4
 Severity:  normal                      |  Resolution:  wontfix
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+----------------------
Changes (by rmccue):

 * keywords:  has-patch needs-unit-tests close => has-patch needs-unit-tests
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Closing as wontfix; please don't use `wp_die` in your code.

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


More information about the wp-trac mailing list