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

WordPress Trac noreply at wordpress.org
Thu Oct 13 19:00:47 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 jrf):

 > there appear to be failures in older branches related to this issue

 @desrosj Could you point me to the errors you are seeing ?

 The only thing I can think of offhand would be that the timezone database
 update in PHP may also have been applied to PHP 8.0 and 8.1 (which are
 still actively maintained).

 In that case, yes, older WP branches would start failing on PHP 8.0/8.1 on
 the same tests as we saw failing on PHP 8.2.

 IIRC though most PHP-specific (non-security) related fixes, are normally
 not backported, so why would this be any different ? (other than that the
 failing tests are annoying)

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


More information about the wp-trac mailing list