Make WordPress Core

Ticket #43304: 43304.2.diff

File 43304.2.diff, 1.2 KB (added by sudar, 6 years ago)
  • src/wp-includes/l10n.php

     
    767767 * @since 1.5.0
    768768 * @since 4.6.0 The function now tries to load the .mo file from the languages directory first.
    769769 *
    770  * @param string $domain          Unique identifier for retrieving translated strings
    771  * @param string $deprecated      Optional. Use the $plugin_rel_path parameter instead. Default false.
    772  * @param string $plugin_rel_path Optional. Relative path to WP_PLUGIN_DIR where the .mo file resides.
    773  *                                Default false.
     770 * @param string       $domain          Unique identifier for retrieving translated strings
     771 * @param string|false $deprecated      Optional. Deprecated. Use the $plugin_rel_path parameter instead. Default false.
     772 * @param string|false $plugin_rel_path Optional. Relative path to WP_PLUGIN_DIR where the .mo file resides.
     773 *                                      Default false.
    774774 * @return bool True when textdomain is successfully loaded, false otherwise.
    775775 */
    776776function load_plugin_textdomain( $domain, $deprecated = false, $plugin_rel_path = false ) {