[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:06:06 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 |
------------------------------------------------+------------------------
Changes (by nacin):
* milestone: Future Release => 3.4
Comment:
[attachment:15327.3.diff] further extends the work of kurtpayne and ryan.
I addressed the three notes in [comment:14 comment 14] and went through
every callback in ajax-actions.php, first with a script and then by hand.
[https://gist.github.com/1650009 The script] identified any local
variables that were set before use. These problems were addressed by
either globalizing a variable or tweaking the code to make the assignment.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15327#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list