Make WordPress Core

Ticket #28690: 28690.2.diff

File 28690.2.diff, 1.3 KB (added by DrewAPicture, 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.1 Return was added.
    553554 *
    554555 * @param string $domain          Unique identifier for retrieving translated strings
    555556 * @param string $deprecated      Use the $plugin_rel_path parameter instead.
     
    622623 * The .mo files must be named based on the locale exactly.
    623624 *
    624625 * @since 1.5.0
     626 * @since 2.8.1 Return was added.
    625627 *
    626628 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
    627629 * @param string $path   Optional. Path to the directory containing the .mo file.
     
    679681 *
    680682 * If there isn't one, returns empty Translations instance.
    681683 *
     684 * @since 2.8.0
     685 *
    682686 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
    683687 * @return Translations A Translations instance.
    684688 */
     
    694698 * Whether there are translations for the text domain.
    695699 *
    696700 * @since 3.0.0
     701 *
    697702 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
    698703 * @return bool Whether there are translations.
    699704 */