Skip to content

Docs: Clarify when to use the HTML Processor#76

Draft
sirreal wants to merge 1 commit into
trunkfrom
docs/html-api-processor-choice
Draft

Docs: Clarify when to use the HTML Processor#76
sirreal wants to merge 1 commit into
trunkfrom
docs/html-api-processor-choice

Conversation

@sirreal

@sirreal sirreal commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • Clarifies that the Tag Processor is a linear, position-based tag and attribute tool.
  • Points structural work, such as subtree walks, ancestor checks, and implied closing tags, to WP_HTML_Processor.

Verification

  • php -l src/wp-includes/html-api/class-wp-html-tag-processor.php
  • git diff --check

Trac ticket: TBD

Use of AI Tools

AI assistance: Yes
Tool(s): Codex
Used for: Reviewing the generated documentation-improvement branch, splitting evidence-backed changes into focused PRs, drafting wording, and running local verification. Final changes were reviewed against source behavior and experiment notes.

@sirreal sirreal added this to the HTML API docs milestone Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant