From 1af0e6cbcbca36d10a5738625330f22a85beeb34 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 28 Jan 2025 09:44:57 +0000 Subject: [PATCH] Coding Standards: Add missing global variable in `determine_locale()` docblock. Props upadalavipul, mukesh27, dhruvang21. Fixes #62875. git-svn-id: https://develop.svn.wordpress.org/trunk@59719 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/l10n.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index 1ed9a6a1a8..513039a83d 100644 --- a/src/wp-includes/l10n.php +++ b/src/wp-includes/l10n.php @@ -116,7 +116,8 @@ function get_user_locale( $user = 0 ) { * * @since 5.0.0 * - * @global string $pagenow The filename of the current screen. + * @global string $pagenow The filename of the current screen. + * @global string $wp_local_package Locale code of the package. * * @return string The determined locale. */