[wp-trac] [WordPress Trac] #51463: Fire an action prior to AJAX action handling (allows diagnostics)

WordPress Trac noreply at wordpress.org
Wed Oct 7 16:12:26 UTC 2020


#51463: Fire an action prior to AJAX action handling (allows diagnostics)
---------------------------+-----------------------------
 Reporter:  DavidAnderson  |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  General        |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------------
Changes (by johnbillion):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => Future Release


Comment:

 This is a good idea. It could instead fire a little further down and
 receive a parameter with the result of the `has_action` check? Maybe one
 for the `wp_ajax_` action and one for the `wp_ajax_nopriv` action before
 they call `wp_die()`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51463#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list