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