[wp-trac] [WordPress Trac] #31646: _get_cron_lock is missing PHPdoc
WordPress Trac
noreply at wordpress.org
Mon Mar 16 08:14:39 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):
Replying to [comment:5 SergeyBiryukov]:
> 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].
It looks like it was actually in the `foreach` statement, and then was
moved into a function for ease of use. I don't think it becoming a
function actually solved the issue of getting a fresh value, just it being
moved out of that loop did.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31646#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list