I18N: Correct an argument description and return value for wp_dropdown_languages()
.
Props realloc See #35294 git-svn-id: https://develop.svn.wordpress.org/trunk@36290 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d438831da3
commit
c36a972acc
@ -956,11 +956,11 @@ function wp_get_pomo_file_data( $po_file ) {
|
||||
* @type array $translations List of available translations. Default result of
|
||||
* wp_get_available_translations().
|
||||
* @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
|
||||
* bool equivalents. Default 1.
|
||||
* @type bool|int $echo Whether to echo the generated markup. Accepts 0, 1, or their
|
||||
* boolean equivalents. Default 1.
|
||||
* @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() ) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user