WordPress.org

Make WordPress Core

Ticket #11593: 11593-l10n.patch

File 11593-l10n.patch, 426 bytes (added by hakre, 8 years ago)

l10n

  • wp-includes/l10n.php

     
    432432function &get_translations_for_domain( $domain ) {
    433433        global $l10n;
    434434        if ( !isset( $l10n[$domain] ) ) {
    435                 $l10n[$domain] = &new NOOP_Translations;
     435                $l10n[$domain] = new NOOP_Translations;
    436436        }
    437437        return $l10n[$domain];
    438438}