mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 06:10:09 +00:00
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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user