mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 13:11:26 +01:00
Docs: Apply documentation standards to the new get_available_languages
filter.
See #38788. Built from https://develop.svn.wordpress.org/trunk@39244 git-svn-id: http://core.svn.wordpress.org/trunk@39184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
011391007c
commit
a800e652c6
@ -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 );
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-beta3-39243';
|
||||
$wp_version = '4.7-beta3-39244';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user