From 5e389c179e70deacf9bdc418bf96d361ee028622 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 28 Jan 2025 09:46:29 +0000 Subject: [PATCH] Coding Standards: Add missing global variable in `determine_locale()` docblock. Props upadalavipul, mukesh27, dhruvang21. Fixes #62875. Built from https://develop.svn.wordpress.org/trunk@59719 git-svn-id: http://core.svn.wordpress.org/trunk@59061 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/l10n.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 1ed9a6a1a8..513039a83d 100644 --- a/wp-includes/l10n.php +++ b/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. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index c44a1e1c61..8ffe32850d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59718'; +$wp_version = '6.8-alpha-59719'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.