Changeset 55054 for trunk/src/wp-includes/functions.php
- Timestamp:
- 01/11/2023 11:18:12 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r54997 r55054 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.