Skip to content

[codex] Fix HTML API notices#87

Closed
mtoensing wants to merge 2 commits into
mainfrom
codex/fix-html-api-notice
Closed

[codex] Fix HTML API notices#87
mtoensing wants to merge 2 commits into
mainfrom
codex/fix-html-api-notice

Conversation

@mtoensing

Copy link
Copy Markdown
Owner

Summary

  • Guard WordPress HTML API parsing against non-string nested block content.
  • Add regression coverage for invalid block fragments.
  • Release the fix as 7.2.0 and update WordPress.org release notes.

Root cause

Nested block content can contain non-string placeholders. Passing one directly to WP_HTML_Tag_Processor triggers a WordPress debug notice.

Validation

  • npm run lint:js
  • npm run lint:css
  • npm run build
  • npm run test:php
  • npm run test:e2e

@mtoensing mtoensing closed this Jun 24, 2026
@mtoensing mtoensing deleted the codex/fix-html-api-notice branch June 24, 2026 20:40
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