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

WordPress Trac noreply at wordpress.org
Mon Jan 16 03:16:49 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       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by rmccue):

 +1 from me. While it's not really a huge difference between checking a
 constant and checking a function return (it's also likely ''less''
 performant), adding filterability might help with cron drop-ins (see
 [https://github.com/humanmade/Cavalcade/issues/28 this Cavalcade ticket]).

 @dd32 Do you have an opinion here?

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


More information about the wp-trac mailing list