[wp-trac] [WordPress Trac] #46025: _json_wp_die_handler doesn't handle JSONP request

WordPress Trac noreply at wordpress.org
Thu Jan 17 19:10:44 UTC 2019


#46025: _json_wp_die_handler doesn't handle JSONP request
--------------------------+------------------------------------------------
 Reporter:  spacedmonkey  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:                |    Version:  trunk
  Bootstrap/Load          |
 Severity:  normal        |   Keywords:  has-patch needs-testing servehappy
  Focuses:  multisite     |
--------------------------+------------------------------------------------
 Originally raised in #45933 , but the new `wp_die` handler
 `_json_wp_die_handler` doesn't support JSONP requests and returns invalid
 response. The rest api support returning JSONP responses, this handler
 should too.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46025>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list