[wp-trac] [WordPress Trac] #38044: Make seems_utf8() RFC 3629 compliant.
WordPress Trac
noreply at wordpress.org
Tue Jan 27 22:12:56 UTC 2026
#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 jorbin):
In [changeset:"61540" 61540]:
{{{
#!CommitTicketReference repository="" revision="61540"
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].
Reviewed-by jorbin.
Merges [61405] to the 6.9 branch.
Props hbhalodia, westonruter, desrosj, albigdd, jorbin.
See #38044.
Fixes #64347.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38044#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list