Options page displays incorrect GMT time
-
On the options page, the callout that says “Current GMT time is:?xx-x-xxx @ xx:xx” displays the local time of the WP install, not GMT. I believe the issue is on line 4 of
options.php
:$now=current_time( 'timestamp');
This should be changed to the following to return GMT time:
$now=current_time( 'timestamp', true );
- The topic ‘Options page displays incorrect GMT time’ is closed to new replies.