[wp-trac] [WordPress Trac] #25669: Introduce helper function for AJAX checks

WordPress Trac noreply at wordpress.org
Thu Aug 18 08:17:22 UTC 2016


#25669: Introduce helper function for AJAX checks
------------------------------------+------------------------------
 Reporter:  toscho                  |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Bootstrap/Load          |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:
------------------------------------+------------------------------

Comment (by swissspidy):

 [attachment:25669.3.patch] looks good so far, needs some docs improvements
 (`@since`, etc.).

 Also, if this gets introduced, it would make sense to replace all
 `DOING_AJAX` checks in core with this function. Otherwise it's pretty
 pointless.

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


More information about the wp-trac mailing list