From 6e19fe7f5c8785f818cc69eefa37600cbc8c8fc7 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Tue, 15 Nov 2016 09:51:17 +0000 Subject: [PATCH] Docs: Apply documentation standards to the new `get_available_languages` filter. See #38788. git-svn-id: https://develop.svn.wordpress.org/trunk@39244 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/l10n.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index adb8483c73..35f3582f66 100644 --- a/src/wp-includes/l10n.php +++ b/src/wp-includes/l10n.php @@ -948,7 +948,7 @@ function translate_user_role( $name ) { * The default directory is WP_LANG_DIR. * * @since 3.0.0 - * @since 4.7.0 The results are now filterable with the get_available_languages filter. + * @since 4.7.0 The results are now filterable with the {@see 'get_available_languages'} filter. * * @param string $dir A directory to search for language files. * Default WP_LANG_DIR. @@ -969,12 +969,12 @@ function get_available_languages( $dir = null ) { } /** - * Filters the list of available language codes + * Filters the list of available language codes. * * @since 4.7.0 * - * @param array $languages An array of available language codes. - * @param string $dir The directory where the language files were found. + * @param array $languages An array of available language codes. + * @param string $dir The directory where the language files were found. */ return apply_filters( 'get_available_languages', $languages, $dir ); }