Skip to content

Commit 1af0e6c

Browse files
committed
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
1 parent 7623fc1 commit 1af0e6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wp-includes/l10n.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ function get_user_locale( $user = 0 ) {
116116
*
117117
* @since 5.0.0
118118
*
119-
* @global string $pagenow The filename of the current screen.
119+
* @global string $pagenow The filename of the current screen.
120+
* @global string $wp_local_package Locale code of the package.
120121
*
121122
* @return string The determined locale.
122123
*/

0 commit comments

Comments
 (0)