Changeset 55790 for branches/5.1/src/wp-includes/l10n.php
- Timestamp:
- 05/16/2023 04:01:50 PM (3 years ago)
- File:
-
- 1 edited
-
branches/5.1/src/wp-includes/l10n.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.1/src/wp-includes/l10n.php
r44514 r55790 140 140 141 141 if ( ! empty( $_GET['wp_lang'] ) && ! empty( $GLOBALS['pagenow'] ) && 'wp-login.php' === $GLOBALS['pagenow'] ) { 142 $determined_locale = sanitize_ text_field( $_GET['wp_lang']);142 $determined_locale = sanitize_locale_name( wp_unslash( $_GET['wp_lang'] ) ); 143 143 } 144 144
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)