-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
backport per-block custom CSS changes #3977
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @aristath, Left nit-pick feedback.
* @param string $selector The selector to nest. | ||
* | ||
* @return string The processed CSS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param string $selector The selector to nest. | |
* | |
* @return string The processed CSS. | |
* @param string $selector The selector to nest. | |
* @return string The processed CSS. |
It looks like we missed the undefined method usage in #3896. This PR should fix that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦 for missing this
@aristath Great catch, thanks for the fix!
Committed in https://core.trac.wordpress.org/changeset/55216 |
Backports WordPress/gutenberg#46571
This is a continuation of #3896
That PR included a call to the
process_blocks_custom_css
method, but the method itself was not included.This PR back ports that method, and its related tests.
Trac ticket: https://core.trac.wordpress.org/ticket/57621
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.