[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
Tue Jan 31 20:41:14 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 nacin):

 Replying to [comment:34 ryan]:
 > As discussed in IRC, we can lose function_exists( 'apply_filters' ) in
 wp_die().

 It was likely there for the wp_die() in wp_set_db_vars(), but that is no
 longer relevant as of r15811.

 We can lose the function_exists() in the default handler, as well, for
 `did_action`.

 We cannot lose it for `__`, as locale.php is loaded after sunrise.php, or
 `is_rtl`, which is loaded after plugins.

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


More information about the wp-trac mailing list