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

WordPress Trac wp-trac at lists.automattic.com
Thu May 17 21:04:09 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 TobiasBg):

 Why don't you just check {{{DOING_AJAX}}} to determine if your callback
 was called by an AJAX action?

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


More information about the wp-trac mailing list