[wp-trac] [WordPress Trac] #20699: AJAX Actions now pass the action name as an arg

WordPress Trac wp-trac at lists.automattic.com
Wed May 23 17:51:43 UTC 2012


#20699: AJAX Actions now pass the action name as an arg
--------------------------------------+------------------
 Reporter:  sivel                     |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  3.4
Component:  Administration            |     Version:  3.4
 Severity:  normal                    |  Resolution:
 Keywords:  2nd-opinion dev-feedback  |
--------------------------------------+------------------

Comment (by nacin):

 While it's handy, current_filter() also works.

 Given the wide use of DOING_AJAX, I doubt many people were relying on this
 behavior.

 At the moment, I'm not sure whether to keep it or ditch it.

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


More information about the wp-trac mailing list