[wp-trac] [WordPress Trac] #56468: sanitize_option() does not handle deprecated timezones correctly

WordPress Trac noreply at wordpress.org
Fri Oct 14 03:23:03 UTC 2022


#56468: sanitize_option() does not handle deprecated timezones correctly
-------------------------------------------------+-------------------------
 Reporter:  jrf                                  |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.1
Component:  Options, Meta APIs                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 I've created PRs for the 5.6 through 6.0 branches backporting [54217].
 Each of the PRs now have passing tests.

 The 5.6, 5.7 and 5.8 branches required conflict resolutions so will need
 to be applied manually. I think this was due to the logic preventing the
 tests running on PHP 8.1.

 * [https://github.com/WordPress/wordpress-develop/pull/3465 PR for 5.6]
 * [https://github.com/WordPress/wordpress-develop/pull/3468 PR for 5.7]
 * [https://github.com/WordPress/wordpress-develop/pull/3466 PR for 5.8]
 * [https://github.com/WordPress/wordpress-develop/pull/3467 PR for 5.9]
 * [https://github.com/WordPress/wordpress-develop/pull/3464 PR for 6.0]

 For the legacy branches I think the bug can remain but fixing the tests
 will ease the way for maintenance and security releases.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56468#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list