[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
Fri Jan 20 23:09:39 UTC 2012


#15327: Strip down admin-ajax.php to be a bare bones ajax handler.
------------------------------------------------+------------------------
 Reporter:  westi                               |       Owner:  kurtpayne
     Type:  enhancement                         |      Status:  accepted
 Priority:  normal                              |   Milestone:  3.4
Component:  Administration                      |     Version:  3.1
 Severity:  normal                              |  Resolution:
 Keywords:  westi-likes has-patch dev-feedback  |
------------------------------------------------+------------------------

Comment (by nacin):

 [attachment:15327.4.diff] also passes $_REQUEST['action'] to the
 do_action() calls. Some core callbacks require this. While they can be re-
 jiggered to not require it, some plugins may like it as then multiple ajax
 actions can go through the same callback.

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


More information about the wp-trac mailing list