Docs: The `MINUTE_IN_SECONDS`, `HOUR_IN_SECONDS`, `DAY_IN_SECONDS`, `WEEK_IN_SECONDS`, `MONTH_IN_SECONDS`, and `YEAR_IN_SECONDS` constants were introduced in 3.5.
See [21996]. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35287 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2bd3c9a832
commit
aec5d8766b
|
@ -99,6 +99,8 @@ function wp_initial_constants() {
|
|||
* YEAR_IN_SECONDS does not take leap years into account.
|
||||
*
|
||||
* If you need more accuracy please consider using the DateTime class (http://php.net/manual/class.datetime.php).
|
||||
*
|
||||
* @since 3.5.0
|
||||
*/
|
||||
define( 'MINUTE_IN_SECONDS', 60 );
|
||||
define( 'HOUR_IN_SECONDS', 60 * MINUTE_IN_SECONDS );
|
||||
|
|
Loading…
Reference in New Issue