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

Chore: Update: Centralize safe_style_css usages. #36280

Merged
merged 1 commit into from
Nov 8, 2021

Conversation

jorgefilipecosta
Copy link
Member

This PR just centralizes safe_style_css filter usages in single function to make it easier to understand what new CSS attributes should be allowed by kses as they are in a single space.

It also improves correctness previously filter was only being added on kses init but the filter should be added all the time even if kses was not initialized like the other filters are.

@jorgefilipecosta jorgefilipecosta added the Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json label Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants