[wp-trac] [WordPress Trac] #61680: is_utf8_charset() undefined when called by code in compat.php
WordPress Trac
noreply at wordpress.org
Thu Jul 18 20:43:44 UTC 2024
#61680: is_utf8_charset() undefined when called by code in compat.php
-------------------------------------------+---------------------
Reporter: dmsnell | Owner: jorbin
Type: defect (bug) | Status: closed
Priority: high | Milestone: 6.6.1
Component: General | Version: 6.6
Severity: normal | Resolution: fixed
Keywords: has-patch dev-reviewed commit | Focuses:
-------------------------------------------+---------------------
Comment (by joemcgill):
> please note, however, that this patch does not change the behavior of
the polyfills for blog_charset. In compat.php they make the call directly
if no charset is provided. Before and after this change, the behavior is
identical: if no charset is provided before functions.php is loaded, the
call will crash; otherwise it will default to calling get_option().
Thanks for pointing out that `get_option()` is called earlier, I missed
that when I made the observation about a potential change in behavior,
which resolves my concerns with [58763].
I'll pick up the reset of the conversation in the follow-up ticket
(#61694).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61680#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list