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:
Drew Jaynes 2015-09-24 05:50:24 +00:00
parent 1c761505b6
commit 81e135955a
2 changed files with 7 additions and 7 deletions

View File

@ -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 * If the locale is set, then it will filter the locale in the {@see 'locale'}
* hook and return the value. * filter hook and return the value.
* *
* If the locale is not set already, then the WPLANG constant is used if it is * 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 * defined. Then it is filtered through the {@see 'locale'} filter hook and
* for the locale global set and the locale is returned. * 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 * 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 * @since 1.5.0
* *

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.