Changeset 55598
- Timestamp:
- 03/28/2023 02:20:33 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r55566 r55598 74 74 // Don't use non-GMT timestamp, unless you know the difference and really need to. 75 75 if ( 'timestamp' === $type || 'U' === $type ) { 76 return $gmt ? time() : time() + ( (int)get_option( 'gmt_offset' ) * HOUR_IN_SECONDS );76 return $gmt ? time() : time() + (int) ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ); 77 77 } 78 78
Note: See TracChangeset
for help on using the changeset viewer.