[wp-trac] [WordPress Trac] #55603: PHP 8.2: address deprecation of the utf8_encode() and utf8_decode() functions

WordPress Trac noreply at wordpress.org
Fri Mar 22 14:15:40 UTC 2024


#55603: PHP 8.2: address deprecation of the utf8_encode() and utf8_decode()
functions
-------------------------------------------------+-------------------------
 Reporter:  jrf                                  |       Owner:
                                                 |  hellofromTonya
     Type:  task (blessed)                       |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.6
Component:  General                              |     Version:  6.0
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion php82 dev-feedback has-  |     Focuses:  coding-
  patch has-unit-tests                           |  standards
-------------------------------------------------+-------------------------

Comment (by swissspidy):

 In [changeset:"57865" 57865]:
 {{{
 #!CommitTicketReference repository="" revision="57865"
 Editor: Check if `mb_strtolower` exists before using it in the font
 library.

 Prevents an error when uploading fonts on certain systems, because the
 `mbstring` extension can be missing and thus the function may not be
 available.

 Props mujuonly, swissspidy, peterwilsoncc.
 Fixes #60823.
 See #55603.
 }}}

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


More information about the wp-trac mailing list