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

WordPress Trac noreply at wordpress.org
Mon Mar 16 07:24:43 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
--------------------------+--------------------
Changes (by DrewAPicture):

 * keywords:   => has-patch


Comment:

 I think either way, we need a DocBlock, so +1 for adding one.

 Since this an underscore-prefixed function, that typically denotes a
 private or utility function, in which case we'd skip parsing. Unless
 somebody can make a convincing argument for why this should have a place
 in the code reference, I'd recommend adding the `@ignore` tag to the
 DocBlock.

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


More information about the wp-trac mailing list