[wp-trac] [WordPress Trac] #38044: Make seems_utf8() RFC 3629 compliant.
WordPress Trac
noreply at wordpress.org
Wed Dec 24 06:46:46 UTC 2025
#38044: Make seems_utf8() RFC 3629 compliant.
--------------------------+----------------------
Reporter: gitlost | Owner: dmsnell
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: Formatting | Version: 1.2.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+----------------------
Comment (by westonruter):
In [changeset:"61405" 61405]:
{{{
#!CommitTicketReference repository="" revision="61405"
Export: Fix fatal error when passing `null` to `wxr_cdata()` by casting
passed value to `string`.
This ensures that `wp_is_valid_utf8()` does not cause a type error since
it only accepts strings.
Developed in https://github.com/WordPress/wordpress-develop/pull/10595
Follow-up to [60630].
Props hbhalodia, westonruter, desrosj, albigdd, jorbin.
See #38044.
Fixes #64347.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38044#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list