Opened 4 years ago
Closed 4 years ago
#47494 closed defect (bug) (duplicate)
current_time function return types
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.2.1 |
Component: | Date/Time | Keywords: | |
Focuses: | docs | Cc: |
Description
WP version 5.2.1, downloaded from https://wordpress.org/download/
After a fresh install, I've changed the timezone to Yerevan
from the global settings - /wp-admin/options-general.php
After the save, the get_option( 'gmt_offset' )
started to return float
and the function current_time
located in \wp-includes\functions.php#65
also started to return float
, but it should return int
or string
.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
possible patch