[wp-trac] [WordPress Trac] #20942: get_gmt_from_date() throws exceptions

WordPress Trac noreply at wordpress.org
Wed Nov 7 20:07:43 UTC 2012


#20942: get_gmt_from_date() throws exceptions
------------------------------------+---------------------
 Reporter:  mdawaffe                |       Owner:  nacin
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  3.5
Component:  Date/Time               |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |
------------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"22435"]:
 {{{
 #!CommitTicketReference repository="" revision="22435"
 Avoid an uncaught exception in get_gmt_from_date(). The return value is
 imperfect - date( $format, 0 ) - but better than a fatal error. props
 wonderboymusic. fixes #20942.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20942#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list