Skip to content

Docs: Clarify HTML Processor subtree traversal#72

Closed
sirreal wants to merge 8 commits into
trunkfrom
docs/html-api-subtree-traversal
Closed

Docs: Clarify HTML Processor subtree traversal#72
sirreal wants to merge 8 commits into
trunkfrom
docs/html-api-subtree-traversal

Conversation

@sirreal

@sirreal sirreal commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Closed and superseded because this draft was opened before sirreal/trunk was fast-forwarded to upstream/trunk, so its diff included unrelated trunk commits. A replacement focused PR will be opened from the same head branch after the base update.

SergeyBiryukov and others added 8 commits June 25, 2026 19:43
This commit replaces a `foreach` loop in `::check_post_type_supports_notes()` that iterates the editor supports, returns `true` as soon as an element has non-empty notes, and otherwise falls through to `false`. That is exactly what PHP 8.4's `array_any()` expresses in a single, more readable call.

WordPress core includes a polyfill for `array_any()` on PHP < 8.4 as of WordPress 6.8, so the change works on every supported PHP version without raising the minimum requirement.

Follow-up to [59783], [62550], [62553].

Props Soean.
See #65519.

git-svn-id: https://develop.svn.wordpress.org/trunk@62564 602fd350-edb4-49c9-b593-d223f7449a82
…ost_link()`.

Follow-up to [37254].

Props ishihara-takashi, sabernhardt, khokansardar, mindctrl, SergeyBiryukov.
Fixes #65541.

git-svn-id: https://develop.svn.wordpress.org/trunk@62565 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [61202].

Props mkrndmane, mukesh27, khokansardar, dhruvang21, SergeyBiryukov.
Fixes #65540.

git-svn-id: https://develop.svn.wordpress.org/trunk@62566 602fd350-edb4-49c9-b593-d223f7449a82
Follow up to [62467]. Replaces original fix, which turned out to be insufficient. Replaces pseudo-elements with more standard outlines, shifted in scale for visibility. 

Props sabernhardt, wildworks, apermo, joedolson.
Fixes #65153.

git-svn-id: https://develop.svn.wordpress.org/trunk@62567 602fd350-edb4-49c9-b593-d223f7449a82
The first submenu item in the collapsed view of the admin menu accepts a click event to navigate, but does not have `cursor: pointer` to indicate that it's interactive. These were removed in [51684], but this specific case (JS activate, menu collapsed, first list item) should remain.

Props mazharulrobeen, sumitsingh, sabernhardt, swapnil1010, joedolson.
Fixes #65250.

git-svn-id: https://develop.svn.wordpress.org/trunk@62568 602fd350-edb4-49c9-b593-d223f7449a82
This resolves an error when running the documented command as of GitHub CLI 2.88.0:
{{{
the `--remote` flag is unsupported when a repository argument is provided.
}}}

Reference: [cli/cli#12375 GitHub CLI: fix: error when --remote flag used with repo argument].

Follow-up to [61202].

Props mkrndmane, khokansardar.
Fixes #65542.

git-svn-id: https://develop.svn.wordpress.org/trunk@62569 602fd350-edb4-49c9-b593-d223f7449a82
Replaces the deprecated `--update-db` command in the `browserslist:update` Grunt task with `update-browserslist-db@latest`.

Props ekla, sergeybiryukov, masteradhoc.

Fixes #64900.


git-svn-id: https://develop.svn.wordpress.org/trunk@62570 602fd350-edb4-49c9-b593-d223f7449a82
@sirreal sirreal closed this 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.

4 participants