mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-06 21:54:28 +00:00
This is a follow-up to [55161] to rename `::get_current_locale()` to `::get_switched_locale()` and `::get_current_user_id()` to `::get_switched_user_id()` for improved clarity. Also: * Fix docblock for `switch_locale` filter. The User ID is `false` if missing, not `null`. * Add additional test involving `restore_previous_locale()` and improve test cleanup. And most importantly: happy birthday ocean90! 🎂 Props johnjamesjacoby, ocean90. See #57123. git-svn-id: https://develop.svn.wordpress.org/trunk@55224 602fd350-edb4-49c9-b593-d223f7449a82