Make WordPress Core


Ignore:
Timestamp:
01/13/2016 08:32:47 PM (9 years ago)
Author:
johnbillion
Message:

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

Props realloc
See #35294

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/l10n.php

    r36012 r36290  
    957957 *                                                  wp_get_available_translations().
    958958 *     @type string   $selected                     Language which should be selected. Default empty.
    959  *     @type bool|int $echo                         Whether to echo or return the generated markup. Accepts 0, 1, or their
    960  *                                                  bool equivalents. Default 1.
     959 *     @type bool|int $echo                         Whether to echo the generated markup. Accepts 0, 1, or their
     960 *                                                  boolean equivalents. Default 1.
    961961 *     @type bool     $show_available_translations  Whether to show available translations. Default true.
    962962 * }
    963  * @return string HTML content only if 'echo' argument is 0.
     963 * @return string HTML content
    964964 */
    965965function wp_dropdown_languages( $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.