Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP_HTML_Tag_Processor: Support tag closer bookmarks #48692

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

ockham
Copy link
Contributor

@ockham ockham commented Mar 2, 2023

What?

In the 6.2 compat layer, support bookmarks pointing to closing tags.

Why?

For parity with Core in WP 6.2, authored by @adamziel in WordPress/wordpress-develop#4115 and committed by @hellofromtonya in r55407.

Note that these changes have already been backported to GB's 6.3 compat layer by @dmsnell in #48378. However, since the change will be in WP 6.2, we also have to apply it to GB's 6.2 compat layer.

@ockham ockham requested review from adamziel, gziolo and dmsnell March 2, 2023 13:52
@ockham ockham requested a review from spacedmonkey as a code owner March 2, 2023 13:52
@ockham ockham self-assigned this Mar 2, 2023
@ockham ockham added this to the Gutenberg 15.3 milestone Mar 2, 2023
Copy link
Contributor

@hellofromtonya hellofromtonya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @ockham for synchronizing this change from Core into Gutenberg for parity.

Confirm the changes match https://core.trac.wordpress.org/changeset/55407

This PR LGTM 👍

@ockham ockham merged commit 62ad881 into trunk Mar 2, 2023
@ockham ockham deleted the fix/closer-tag-bookmarks branch March 2, 2023 14:52
@ockham
Copy link
Contributor Author

ockham commented Mar 2, 2023

Like #48681, I'm going to cherry-pick this to the release/15.3 branch to include it with GB 15.3.

cc/ @priethor

ockham added a commit that referenced this pull request Mar 2, 2023
In the 6.2 compat layer, support bookmarks pointing to closing tags.

This is for parity with Core in WP 6.2, see WordPress/wordpress-develop#4115 and [r55407](https://core.trac.wordpress.org/changeset/55407).

Note that these changes have already been backported to GB's 6.**3** compat layer in #48378. However, since the change will be in WP 6.2, we also have to apply it to GB's 6.2 compat layer.
@ockham
Copy link
Contributor Author

ockham commented Mar 2, 2023

Cherry-picked to release/15.3 in 0feaa9d.

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.

3 participants