Skip to content

Add support for :link and :any-link in theme.json#48634

Merged
oandregal merged 2 commits intotrunkfrom
backport/theme-json-pseudo-selectors
Mar 2, 2023
Merged

Add support for :link and :any-link in theme.json#48634
oandregal merged 2 commits intotrunkfrom
backport/theme-json-pseudo-selectors

Conversation

@oandregal
Copy link
Copy Markdown
Member

What?

Backports WordPress/wordpress-develop#3631 that adds support for :link and :any-link pseudo-elements in theme.json. Core ticket https://core.trac.wordpress.org/ticket/57053

Why?

Gutenberg and WordPress core classes need to be in sync.

How?

By backporting the changes done to the corresponding core class.

Testing Instructions

None provided in the original PR.

@oandregal oandregal requested a review from spacedmonkey as a code owner March 1, 2023 13:02
@oandregal oandregal self-assigned this Mar 1, 2023
@oandregal oandregal added the Backport from WordPress Core Pull request that needs to be backported to a Gutenberg release from WordPress Core label Mar 1, 2023
@oandregal
Copy link
Copy Markdown
Member Author

cc people that had been involved in this work in core: cc @whaze @peterwilsoncc @mukeshpanchal27 @costdev @audrasjb As I mentioned in the core ticket, this sort of changes need to be backported to Gutenberg (preferably, developed in Gutenberg so they can be widely tested before landing in core).

Also people who added support for pseudo-elements in links #41786 @getdave @adamziel @madhusudhand @ramonjd @scruffian and support for the same in buttons #43088 @MaggieCabrera @scruffian @mikachan

I presume this is a straightforward backport from core, but I have not been involved in any of the efforts mentioned above, so I'd rather double-check.

@audrasjb
Copy link
Copy Markdown
Contributor

audrasjb commented Mar 1, 2023

Hi, this changeset looks good to me, perfect 👍

Co-authored-by: Mukesh Panchal <mukeshpanchal27@users.noreply.github.com>
@oandregal oandregal merged commit a889ec8 into trunk Mar 2, 2023
@oandregal oandregal deleted the backport/theme-json-pseudo-selectors branch March 2, 2023 15:56
@github-actions github-actions bot added this to the Gutenberg 15.4 milestone Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport from WordPress Core Pull request that needs to be backported to a Gutenberg release from WordPress Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants