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

WordPress Trac noreply at wordpress.org
Sat May 6 14:29:03 UTC 2017


#39591: Introduce wp_doing_cron()
-------------------------+-------------------------
 Reporter:  tfrommen     |       Owner:  swissspidy
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.8
Component:  Cron API     |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+-------------------------
Changes (by swissspidy):

 * owner:   => swissspidy
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40575"]:
 {{{
 #!CommitTicketReference repository="" revision="40575"
 Cron API: Add a new `wp_doing_cron()` helper function.

 This replaces `DOING_CRON` checks via the constant.

 Props tfrommen.
 Fixes #39591.
 }}}

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


More information about the wp-trac mailing list