[wp-trac] [WordPress Trac] #28523: wp_send_json to allow for JSONP
WordPress Trac
noreply at wordpress.org
Fri Jun 13 14:45:48 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: javascript
-------------------------+------------------------------
Comment (by sc0ttkclark):
I will support any solution that gets JSONP support into core, mirroring
wp_send_json as wp_send_jsonp is fine by me! Just thought that the use
case WP API used by combining the two was a better approach. But given
it's need for callback handling and sanitization, perhaps it's own
function is better merited.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28523#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list