[wp-trac] [WordPress Trac] #58517: HTML API: Introduce HTML Processor, a higher-level partner to the Tag Processor
WordPress Trac
noreply at wordpress.org
Thu Sep 21 21:28:13 UTC 2023
#58517: HTML API: Introduce HTML Processor, a higher-level partner to the Tag
Processor
----------------------------------------+------------------------------
Reporter: dmsnell | Owner: Bernhard Reiter
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.4
Component: HTML API | Version:
Severity: normal | Resolution:
Keywords: has-unit-tests 2nd-opinion | Focuses:
----------------------------------------+------------------------------
Comment (by dmsnell):
@oglekler this has been in trunk since July 20 and is supposed to be part
of 6.4. Beyond some ideological opposition to properly handling HTML from
within PHP, there is nothing to my knowledge that anyone has raised as
objection to this.
Can you clarify what you mean by "reinventing the wheel" here? For more
context you might review the [https://make.wordpress.org/core/2023/08/19
/progress-report-html-api/ API roadmap post] on Make, which reviews the
motivation for the different parts of the HTML API, or recent XSS alerts
spanning multiple //new// code contributions around WordPress that
wouldn't have been possible within this new API.
What follow-up would you like here? This is definitely a different sort of
component being developed, but its pace and schedule are intentional in
response to the sensitivity of the work and the longstanding security,
convenience, performance, and reliability issues that have given rise to
it.
Happy to help however I can. This early inclusion Core-first is part of an
attempt to avoid typical headaches in Gutenberg > Core merges, headaches
which appeared during the 6.3 process.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58517#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list