Make WordPress Core

Ticket #28690: 28690.diff

File 28690.diff, 887 bytes (added by jdgrimes, 12 years ago)
  • src/wp-includes/l10n.php

     
    550550 * The .mo file should be named based on the text domain with a dash, and then the locale exactly.
    551551 *
    552552 * @since 1.5.0
     553 * @since 2.8.0 Retruns a boolean value (before it did not return a value).
    553554 *
    554555 * @param string $domain          Unique identifier for retrieving translated strings
    555556 * @param string $deprecated      Use the $plugin_rel_path parameter instead.
    556557 * @param string $plugin_rel_path Optional. Relative path to WP_PLUGIN_DIR where the .mo file resides.
     558 * @return bool True when textdomain is successfully loaded, false otherwise.
    557559 */
    558560function load_plugin_textdomain( $domain, $deprecated = false, $plugin_rel_path = false ) {
    559561        $locale = get_locale();