From aec5d8766b8a3499f484da483bd0a1e86091872a Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 20 Oct 2015 06:58:50 +0000 Subject: [PATCH] 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 --- src/wp-includes/default-constants.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/default-constants.php b/src/wp-includes/default-constants.php index 252c98e40b..eb86853fe0 100644 --- a/src/wp-includes/default-constants.php +++ b/src/wp-includes/default-constants.php @@ -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 );