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

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

Merged
merged 2 commits into from
Mar 2, 2023

Conversation

oandregal
Copy link
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 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
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
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