[wp-trac] [WordPress Trac] #20328: get_date_from_gmt assumes current gmt_offset is appropriate
WordPress Trac
noreply at wordpress.org
Tue Mar 5 16:19:32 UTC 2013
#20328: get_date_from_gmt assumes current gmt_offset is appropriate
---------------------------+-----------------------
Reporter: scottconnerly | Owner: nacin
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.6
Component: Date/Time | Version:
Severity: normal | Resolution:
Keywords: has-patch |
---------------------------+-----------------------
Changes (by nacin):
* status: closed => reopened
* resolution: fixed =>
Comment:
iso8601_to_datetime() and wp-mail.php both appear to be affected. We are
already parsing out the date/time pieces using regex in both of those
cases, so we should be able to just re-construct a date and pass it
directly to get_date_from_gmt/get_gmt_from_date.
_walk_bookmarks() is also affected, but that is not a big deal.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20328#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list