[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
Sat Jan 17 10:36:33 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 SergeyBiryukov):

 Replying to [comment:2 ap.0]:
 > While this is a problem with the theme itself, I was hoping to use
 WordPress' extensibility to fix or work around it, instead of modifying
 the theme directly.

 It should be possible to unhook the theme's AJAX handler and replace it
 with your own.

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


More information about the wp-trac mailing list