Add missing doc blocks to l10n.php
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32605 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d10ec28b01
commit
cb1cf9e1ac
@ -21,6 +21,9 @@
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @global string $locale
|
||||
* @global string $wp_local_package
|
||||
*
|
||||
* @return string The locale of the blog or from the 'locale' hook.
|
||||
*/
|
||||
function get_locale() {
|
||||
@ -431,6 +434,8 @@ function translate_nooped_plural( $nooped_plural, $count, $domain = 'default' )
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @global array $l10n
|
||||
*
|
||||
* @param string $domain Text domain. Unique identifier for retrieving translated strings.
|
||||
* @param string $mofile Path to the .mo file.
|
||||
* @return bool True on success, false on failure.
|
||||
@ -491,6 +496,8 @@ function load_textdomain( $domain, $mofile ) {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @global array $l10n
|
||||
*
|
||||
* @param string $domain Text domain. Unique identifier for retrieving translated strings.
|
||||
* @return bool Whether textdomain was unloaded.
|
||||
*/
|
||||
@ -704,6 +711,8 @@ function load_child_theme_textdomain( $domain, $path = false ) {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @global array $l10n
|
||||
*
|
||||
* @param string $domain Text domain. Unique identifier for retrieving translated strings.
|
||||
* @return NOOP_Translations A Translations instance.
|
||||
*/
|
||||
@ -720,6 +729,8 @@ function get_translations_for_domain( $domain ) {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @global array $l10n
|
||||
*
|
||||
* @param string $domain Text domain. Unique identifier for retrieving translated strings.
|
||||
* @return bool Whether there are translations.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user