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

WordPress Trac noreply at wordpress.org
Mon Mar 16 08:08:13 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:4 valendesigns]:
 > The only place core uses it is in `wp-cron.php`. It could easily be
 turned into a variable.

 I think it's a function and not a variable in order to make sure we get a
 fresh value for each check, see [18659].

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


More information about the wp-trac mailing list