[wp-trac] [WordPress Trac] #38044: Make seems_utf8() RFC 3629 compliant.
WordPress Trac
noreply at wordpress.org
Wed Aug 13 17:56:51 UTC 2025
#38044: Make seems_utf8() RFC 3629 compliant.
--------------------------+-----------------------------
Reporter: gitlost | Owner: dmsnell
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Future Release
Component: Formatting | Version: 1.2.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Changes (by dmsnell):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"60633" 60633]:
{{{
#!CommitTicketReference repository="" revision="60633"
HTML API: Make WP_HTML_Processor::serialize_token() public.
The serialize_token() method was added in WordPress 6.7.0 as a protected
member on the WP_HTML_Processor class. It wasn’t clear at the time of
merging if it would be necessary to expose it as a public method. However,
since that time a number of experiments have led to the conclusion that it
would be very valuable to do so.
This patch opens up the method for invocation from the outside,
trivializing the generation of normative HTML subspans from a parent
document.
Developed in https://github.com/WordPress/wordpress-develop/pull/9456
Discussed in https://core.trac.wordpress.org/ticket/63823
Follow-up to [59076].
Props dmsnell, jonsurrell.
Fixes #38044.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38044#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list