Changeset 55599 for branches/6.2
- Timestamp:
- 03/28/2023 02:32:42 PM (21 months ago)
- Location:
- branches/6.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.2
-
branches/6.2/src/wp-includes/functions.php
r55492 r55599 73 73 // Don't use non-GMT timestamp, unless you know the difference and really need to. 74 74 if ( 'timestamp' === $type || 'U' === $type ) { 75 return $gmt ? time() : time() + ( (int)get_option( 'gmt_offset' ) * HOUR_IN_SECONDS );75 return $gmt ? time() : time() + (int) ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ); 76 76 } 77 77
Note: See TracChangeset
for help on using the changeset viewer.