[wp-trac] [WordPress Trac] #28523: wp_send_json to allow for JSONP

WordPress Trac noreply at wordpress.org
Thu Jun 12 23:57:54 UTC 2014


#28523: wp_send_json to allow for JSONP
-------------------------+------------------------------
 Reporter:  sc0ttkclark  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.5
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by sc0ttkclark):

 Replying to [comment:3 georgestephanis]:
 > I guess part of me wonders if this would inadvertently open up existing
 custom endpoints to cross-domain requests that it's not expecting?

 If callback is a new parameter not currently used by any existing
 endpoints using wp_send_json, would it?

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


More information about the wp-trac mailing list