UTC Time Zone Set in wp-settings affects items in header
|Reported by:||iacas||Owned by:|
The wp-settings.php file in WordPress 2.9 sets time zone to UTC, which is then not set to the user-specified time zone (via the wp-admin settings) until just after get_header().
This causes problems for items which use the date and/or time in the header file, as my random header rotator does:
I think that if wp-settings is going to continue to set the time zone to UTC by default (around line 21), then the proper, user-specified time zone should be set earlier than "at the end of get_header()".
Change History (18)
- Keywords needs-patch added; utc time_zone removed
- Milestone changed from Unassigned to 2.9.1