[wp-trac] [WordPress Trac] #31005: wp_send_json(): Filtering of $response prior to passing it to wp_json_encode().

WordPress Trac noreply at wordpress.org
Mon Jan 19 21:33:29 UTC 2015


#31005: wp_send_json(): Filtering of $response prior to passing it to
wp_json_encode().
-------------------------+------------------------------
 Reporter:  ap.0         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  4.1
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by ap.0):

 Replying to [comment:3 SergeyBiryukov]:
 > It should be possible to unhook the theme's AJAX handler and replace it
 with your own.

 Thanks for the idea. A variant of that approach does seem to work in my
 particular case.

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


More information about the wp-trac mailing list