[wp-trac] [WordPress Trac] #31646: _get_cron_lock is missing PHPdoc

WordPress Trac noreply at wordpress.org
Tue Mar 17 06:12:40 UTC 2015

#31646: _get_cron_lock is missing PHPdoc
 Reporter:  mordauk       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.2
Component:  Cron API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs

Comment (by SergeyBiryukov):

 Replying to [comment:7 valendesigns]:
 > I could be wrong, it's just what I saw from first glance. Unless, it
 needs a fresh value in the loop every time it asks for the cron lock.

 Yes, that's my understanding. Some actions may take a long time to run, so
 we need to check the fresh value on each iteration to see if the lock
 still belongs to the current process.

Ticket URL: <https://core.trac.wordpress.org/ticket/31646#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list