Docs: Fix the summary for `get_locale()`.
Also update the description to properly link up hook references with inline `@see` tags. See #32246. Built from https://develop.svn.wordpress.org/trunk@34484 git-svn-id: http://core.svn.wordpress.org/trunk@34448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1c761505b6
commit
81e135955a
|
@ -8,17 +8,17 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Get the current locale.
|
||||
* Retrieves the current locale.
|
||||
*
|
||||
* If the locale is set, then it will filter the locale in the 'locale' filter
|
||||
* hook and return the value.
|
||||
* If the locale is set, then it will filter the locale in the {@see 'locale'}
|
||||
* filter hook and return the value.
|
||||
*
|
||||
* If the locale is not set already, then the WPLANG constant is used if it is
|
||||
* defined. Then it is filtered through the 'locale' filter hook and the value
|
||||
* for the locale global set and the locale is returned.
|
||||
* defined. Then it is filtered through the {@see 'locale'} filter hook and
|
||||
* the value for the locale global set and the locale is returned.
|
||||
*
|
||||
* The process to get the locale should only be done once, but the locale will
|
||||
* always be filtered using the 'locale' hook.
|
||||
* always be filtered using the {@see 'locale'} hook.
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34483';
|
||||
$wp_version = '4.4-alpha-34484';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue