[wp-trac] [WordPress Trac] #20024: WP_Ajax_Response / send() / extra data retrieved

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 12 18:39:28 UTC 2012


#20024: WP_Ajax_Response / send() / extra data retrieved
-------------------------------+------------------------------
 Reporter:  arena              |       Owner:  arena
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.3.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by kurtpayne):

 * cc: kpayne@… (added)
 * keywords:   => reporter-feedback
 * severity:  major => normal


Comment:

 Are you using this in a plugin?

 `WP_Ajax_Response::send()` calls `wp_die()` at the end.  The default
 behavior for `wp_die()` with no arguments is to exit the script.  If you
 define a custom ajax die handler in a plugin, though, this could account
 for extra output.

 If that isn't the case, can you please post steps to reproduce?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20024#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list