[wp-trac] [WordPress Trac] #58814: Intensionally inset general->timezone_string field wrong format makes error in 'Time Format' & 'Date Format'
WordPress Trac
noreply at wordpress.org
Mon Oct 16 23:49:24 UTC 2023
#58814: Intensionally inset general->timezone_string field wrong format makes error
in 'Time Format' & 'Date Format'
-------------------------------------------------+-------------------------
Reporter: mrinal013 | Owner:
| peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.4
Component: Options, Meta APIs | Version:
Severity: normal | Resolution: fixed
Keywords: has-screenshots has-patch has-unit- | Focuses:
tests needs-testing has-testing-info commit |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"56949" 56949]:
{{{
#!CommitTicketReference repository="" revision="56949"
Options, Meta APIs: Prevent saving of invalid timezones.
Prevent the saving of invalid timezone string in to the database on the
options pages. If an invalid timezone is submitted it is ignored and the
setting remains unchanged.
This prevents a warning or fatal (depending on the PHP version) from being
thrown by an invalid timezone setting on the Settings > General page.
Props ankit-k-gupta, costdev, huzaifaalmesbah, mrinal013, nicolefurlan,
oglekler.
Fixes #58814.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58814#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list