Add missing doc blocks to `locale.php`

See #32444.

Built from https://develop.svn.wordpress.org/trunk@32608


git-svn-id: http://core.svn.wordpress.org/trunk@32578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-05-26 18:59:25 +00:00
parent 0ba1025d66
commit 5845a0c372
2 changed files with 13 additions and 4 deletions

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

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32607';
$wp_version = '4.3-alpha-32608';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.