Make WordPress Core

Ticket #43304: 43304.diff

File 43304.diff, 807 bytes (added by sudar, 3 years ago)

Patch to fix the phpdoc blcok

  • src/wp-includes/l10n.php

    720720 * @since 4.6.0 The function now tries to load the .mo file from the languages directory first.
    721721 *
    722722 * @param string $domain          Unique identifier for retrieving translated strings
    723  * @param string $deprecated      Optional. Use the $plugin_rel_path parameter instead. Default false.
     723 * @param false  $deprecated      Optional. Deprecated. Default false.
    724724 * @param string $plugin_rel_path Optional. Relative path to WP_PLUGIN_DIR where the .mo file resides.
    725725 *                                Default false.
    726726 * @return bool True when textdomain is successfully loaded, false otherwise.