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

Do not strip trailing semicolon out in safecss_filter_attr() #3579

Closed
wants to merge 2 commits into from

Conversation

Hug0-Drelon
Copy link

Ticket https://core.trac.wordpress.org/ticket/57002

Description

  • Add tests for safecss_filter_attr().
  • Add a ; before returning filtered CSS in safecss_filter_attr().
@Hug0-Drelon
Copy link
Author

I'm aware some tests are failing. This is due to the ; added in any cases...
I'll fix them once the ticket is validated.

@Hug0-Drelon
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant