[wp-trac] [WordPress Trac] #60823: Font Library: `mb_strtolower()` throws fatal without the optional `mbstring` PHP extension installed.
WordPress Trac
noreply at wordpress.org
Fri Mar 22 14:15:41 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 dev-feedback | Focuses:
-------------------------------------------+-------------------------
Changes (by swissspidy):
* owner: (none) => swissspidy
* status: new => closed
* resolution: => fixed
Comment:
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/60823#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list