Changeset 55785 for branches/5.4/src/wp-includes/l10n.php
- Timestamp:
- 05/16/2023 03:50:15 PM (3 years ago)
- File:
-
- 1 edited
-
branches/5.4/src/wp-includes/l10n.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.4/src/wp-includes/l10n.php
r47230 r55785 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.