I18N: Introduce sanitization function for locale.

Introduce the `sanitize_locale_name()` for sanitizing user input of locales.

Props xknown, timothyblynjacobs, ocean90, peterwilsoncc.


Built from https://develop.svn.wordpress.org/trunk@55760


git-svn-id: http://core.svn.wordpress.org/trunk@55272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb
2023-05-16 14:18:20 +00:00
parent b49912434d
commit 02a131ec30
3 changed files with 26 additions and 3 deletions

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-alpha-55759';
$wp_version = '6.3-alpha-55760';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.