[wp-trac] [WordPress Trac] #37465: Remove UTC options from timezone if not selected + filter to restore

WordPress Trac noreply at wordpress.org
Tue Jul 26 00:36:07 UTC 2016


#37465: Remove UTC options from timezone if not selected + filter to restore
-------------------------+-----------------------------
 Reporter:  pbearne      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Date/Time    |    Version:  4.5.3
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 To solve the problem where the option "timezone_string" is not set because
 an UTC offset has been selected.

 This patch remove the UTC options if not currently selected.

 It also adds a filter ("show_utc_offsets") to allow the UTC offsets to be
 restored for a site

 Includes Unit Tests

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37465>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list