WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/11/2020 06:30:58 PM (19 months ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of false.

Follow-up to [46696].

See #48303.

File:
1 edited

Legend:

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

    r47049 r47060  
    928928 * @param string $path   Optional. The full file path to the directory containing translation files.
    929929 *
    930  * @return false|string False if the script textdomain could not be loaded, the translated strings
     930 * @return string|false False if the script textdomain could not be loaded, the translated strings
    931931 *                      in JSON encoding otherwise.
    932932 */
     
    14331433 *     @type bool     $show_option_en_us            Whether to show an option for English (United States). Default true.
    14341434 * }
    1435  * @return string HTML content
     1435 * @return string HTML dropdown list of languages.
    14361436 */
    14371437function wp_dropdown_languages( $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.