[wp-trac] [WordPress Trac] #15327: Strip down admin-ajax.php to be a bare bones ajax handler.
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 30 21:40:47 UTC 2012
#15327: Strip down admin-ajax.php to be a bare bones ajax handler.
------------------------------------------------+------------------------
Reporter: westi | Owner: kurtpayne
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.4
Component: Administration | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: westi-likes has-patch dev-feedback |
------------------------------------------------+------------------------
Comment (by kurtpayne):
[[attachment:ajax_die.patch]] came out of an
[https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
dev&day=2012-01-30#m359134 IRC discussion] to make unit tests possible.
The `die()` statements in the ajax handlers were killing the unit tests.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15327#comment:33>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list