Changeset 55788 for branches/5.3/src/wp-includes/l10n.php
- Timestamp:
- 05/16/2023 03:54:29 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3/src/wp-includes/l10n.php
r46232 r55788 145 145 146 146 if ( ! empty( $_GET['wp_lang'] ) && ! empty( $GLOBALS['pagenow'] ) && 'wp-login.php' === $GLOBALS['pagenow'] ) { 147 $determined_locale = sanitize_ text_field( $_GET['wp_lang']);147 $determined_locale = sanitize_locale_name( wp_unslash( $_GET['wp_lang'] ) ); 148 148 } 149 149
Note: See TracChangeset
for help on using the changeset viewer.