WordPress.org

Make WordPress Core

Ticket #43304: 43304.2.patch

File 43304.2.patch, 807 bytes (added by hardik2221, 3 years ago)
  • 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 bool   $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.