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 sanitize_locale_name() to escaping functions and unslashing sanitizing functions #2397

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

Chouby
Copy link
Contributor

@Chouby Chouby commented Oct 10, 2023

WordPress 6.2.1 introduced the function sanitize_locale_name(). As it accepts only [A-Za-z0-9_-], I propose to add it to escaping functions and unslashing sanitizing functions.

@jrfnl jrfnl added this to the 3.1.0 milestone Dec 11, 2023
@jrfnl jrfnl merged commit 0aa6cf7 into WordPress:develop Dec 11, 2023
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants