Skip to content

wp_kses: Add filter to the list of css_url_data_types#4108

Closed
scruffian wants to merge 1 commit intoWordPress:trunkfrom
scruffian:update/css_url_data_types
Closed

wp_kses: Add filter to the list of css_url_data_types#4108
scruffian wants to merge 1 commit intoWordPress:trunkfrom
scruffian:update/css_url_data_types

Conversation

@scruffian
Copy link
Contributor

@scruffian scruffian commented Feb 21, 2023

Since filter can also refer to urls (see https://developer.mozilla.org/en-US/docs/Web/CSS/url) then we should add it to the css_url_data_types array.

Trac ticket: https://core.trac.wordpress.org/ticket/57780#ticket


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.

@SergeyBiryukov
Copy link
Member

Thanks for the PR! Merged in r55564.

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.

2 participants