Add missing doc blocks to locale.php

See #32444.


git-svn-id: https://develop.svn.wordpress.org/trunk@32608 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-05-26 18:58:20 +00:00
parent 9de5c2b22d
commit c7e87544a7

View File

@ -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() {