[wp-trac] [WordPress Trac] #39591: Introduce wp_doing_cron()

WordPress Trac noreply at wordpress.org
Sun Jan 15 10:55:18 UTC 2017


#39591: Introduce wp_doing_cron()
-------------------------+-----------------------------
 Reporter:  tfrommen     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Cron API     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Similar to `wp_doing_ajax()`, I'd consider a `wp_doing_cron()` function
 handy.

 Core could make use of it '''10 times''' already (three times of which
 lookups can be cached), and even more plugin authors.

 Patch is about to follow.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39591>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list