Docs: Clarify HTML Processor subtree traversal#72
Closed
sirreal wants to merge 8 commits into
Closed
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closed and superseded because this draft was opened before
sirreal/trunkwas fast-forwarded toupstream/trunk, so its diff included unrelated trunk commits. A replacement focused PR will be opened from the same head branch after the base update.