diff options
Diffstat (limited to 'plugins/jetpack/_inc/lib/admin-pages/class.jetpack-react-page.php')
-rw-r--r-- | plugins/jetpack/_inc/lib/admin-pages/class.jetpack-react-page.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-react-page.php b/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-react-page.php index 6cd6b94c..57a81a19 100644 --- a/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-react-page.php +++ b/plugins/jetpack/_inc/lib/admin-pages/class.jetpack-react-page.php @@ -398,23 +398,3 @@ function jetpack_current_user_data() { return $current_user_data; } - -/** - * Set the admin language, based on user language. - * - * @since 4.5.0 - * - * @return string - * - * @todo Remove this function when WordPress 4.8 is released - * and replace `jetpack_get_user_locale()` in this file with `get_user_locale()`. - */ -function jetpack_get_user_locale() { - $locale = get_locale(); - - if ( function_exists( 'get_user_locale' ) ) { - $locale = get_user_locale(); - } - - return $locale; -} |