[wp-trac] [WordPress Trac] #60823: Font Library: `mb_strtolower()` throws fatal without the optional `mbstring` PHP extension installed.
WordPress Trac
noreply at wordpress.org
Sat Mar 23 09:15:48 UTC 2024
#60823: Font Library: `mb_strtolower()` throws fatal without the optional
`mbstring` PHP extension installed.
-------------------------------------------------+-------------------------
Reporter: peterwilsoncc | Owner: swissspidy
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.5
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit fixed-major dev- | Focuses:
reviewed |
-------------------------------------------------+-------------------------
Changes (by swissspidy):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"57869" 57869]:
{{{
#!CommitTicketReference repository="" revision="57869"
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.
Reviewed by jorbin.
Merges [57865] to the to the 6.5 branch.
Props mujuonly, swissspidy, peterwilsoncc.
Fixes #60823.
See #55603.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60823#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list