I18N: Correct an argument description and return value for `wp_dropdown_languages()`.

Props realloc
See #35294

Built from https://develop.svn.wordpress.org/trunk@36290


git-svn-id: http://core.svn.wordpress.org/trunk@36257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2016-01-13 20:33:25 +00:00
parent e56457f7fe
commit 045d7d3a18
2 changed files with 4 additions and 4 deletions

View File

@ -956,11 +956,11 @@ function wp_get_pomo_file_data( $po_file ) {
* @type array $translations List of available translations. Default result of * @type array $translations List of available translations. Default result of
* wp_get_available_translations(). * wp_get_available_translations().
* @type string $selected Language which should be selected. Default empty. * @type string $selected Language which should be selected. Default empty.
* @type bool|int $echo Whether to echo or return the generated markup. Accepts 0, 1, or their * @type bool|int $echo Whether to echo the generated markup. Accepts 0, 1, or their
* bool equivalents. Default 1. * boolean equivalents. Default 1.
* @type bool $show_available_translations Whether to show available translations. Default true. * @type bool $show_available_translations Whether to show available translations. Default true.
* } * }
* @return string HTML content only if 'echo' argument is 0. * @return string HTML content
*/ */
function wp_dropdown_languages( $args = array() ) { function wp_dropdown_languages( $args = array() ) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.5-alpha-36289'; $wp_version = '4.5-alpha-36290';
/** /**
* 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.