`get_user_option()` checks for both option types, site and network. Since `locale` is only a network option we can directly access the field via `WP_User`s magic getter. Props johnjamesjacoby. Fixes #38578. Built from https://develop.svn.wordpress.org/trunk@39040 git-svn-id: http://core.svn.wordpress.org/trunk@38982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
26 KiB
26 KiB