From c7e87544a7c30cae3b48a2f62417021ffa5ca38d Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 26 May 2015 18:58:20 +0000 Subject: [PATCH] Add missing doc blocks to `locale.php` See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32608 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/locale.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/locale.php b/src/wp-includes/locale.php index b3f4b455e1..1a630de720 100644 --- a/src/wp-includes/locale.php +++ b/src/wp-includes/locale.php @@ -91,6 +91,9 @@ class WP_Locale { * * @since 2.1.0 * @access private + * + * @global string $text_direction + * @global string $wp_version */ function init() { // The Weekdays @@ -301,6 +304,12 @@ class WP_Locale { * @deprecated For backwards compatibility only. * @access private * + * @global array $weekday + * @global array $weekday_initial + * @global array $weekday_abbrev + * @global array $month + * @global array $month_abbrev + * * @since 2.1.0 */ function register_globals() { @@ -314,10 +323,7 @@ class WP_Locale { /** * Constructor which calls helper methods to set up object variables * - * @uses WP_Locale::init() - * @uses WP_Locale::register_globals() * @since 2.1.0 - * */ function __construct() { $this->init(); @@ -357,6 +363,9 @@ class WP_Locale { * Checks if current locale is RTL. * * @since 3.0.0 + * + * @global WP_Locale $wp_locale + * * @return bool Whether locale is RTL. */ function is_rtl() {