[wp-trac] [WordPress Trac] #37440: current_time function outputs local time when it should output GMT time
WordPress Trac
noreply at wordpress.org
Fri Jul 22 04:25:59 UTC 2016
#37440: current_time function outputs local time when it should output GMT time
--------------------------+-----------------------------
Reporter: bynicolas | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 4.5.3
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
on [https://core.trac.wordpress.org/browser/tags/4.5.3/src/wp-
includes/functions.php#L68 line 68] when $gmt is true, the function
returns local time by using date( $type ) when it should be using gmdate(
$type )
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37440>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list