Changeset 55598 for trunk/src/wp-includes/functions.php
- Timestamp:
- 03/28/2023 02:20:33 PM (21 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.