[wp-trac] [WordPress Trac] #33397: Add constant MONTH_IN_SECONDS

WordPress Trac noreply at wordpress.org
Sat Aug 22 00:39:56 UTC 2015


#33397: Add constant MONTH_IN_SECONDS
---------------------------------------+-----------------------
 Reporter:  toscho                     |       Owner:  egill
     Type:  enhancement                |      Status:  reopened
 Priority:  normal                     |   Milestone:  4.4
Component:  General                    |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  good-first-bug needs-docs  |     Focuses:
---------------------------------------+-----------------------
Changes (by GaryJ):

 * keywords:  good-first-bug has-patch needs-docs => good-first-bug needs-
               docs
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:12 jorbin]:
 > expand time convenience documentation.

 Per standard PHP documentation parsing, the `/** ... */` DocBlock here is
 only applying to the first constant.

 Instead, it should wrap around all of the `define()`'s, like
 [https://github.com/WordPress/WordPress/blob/master/wp-config-
 sample.php#L40-L58 wp-config.php] does.

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


More information about the wp-trac mailing list