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

WordPress Trac noreply at wordpress.org
Mon Mar 16 07:46:42 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 valendesigns):

 I agree, this doesn't need to be included in the code reference. However,
 something to consider would be removing the function all together. The
 only place core uses it is in `wp-cron.php`. It could easily be turned
 into a variable. Patch [attachment:31646.1.diff] should demonstrate what I
 mean. Obviously it's to late for 4.2, but still worth mentioning. The last
 patch will have to suffice for now.

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


More information about the wp-trac mailing list