diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2018-07-12 10:41:06 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2018-07-12 10:41:06 -0400 |
commit | d38ad7e645bf525ba52f98eb3ac3b911569ba8ad (patch) | |
tree | c71f455934a7ad823422c9eb17e08d029d2c7612 /plugins/jetpack/_inc/lib/admin-pages | |
parent | Update akismet 4.0.8 (diff) | |
download | blogs-gentoo-d38ad7e645bf525ba52f98eb3ac3b911569ba8ad.tar.gz blogs-gentoo-d38ad7e645bf525ba52f98eb3ac3b911569ba8ad.tar.bz2 blogs-gentoo-d38ad7e645bf525ba52f98eb3ac3b911569ba8ad.zip |
Update jetpack 6.3.2
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'plugins/jetpack/_inc/lib/admin-pages')
-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; -} |