Ticket #6742: 6742.patch
| File 6742.patch, 0.5 kB (added by Viper007Bond, 6 months ago) |
|---|
-
wp-includes/l10n.php
old new 67 67 function translate($text, $domain = 'default') { 68 68 global $l10n; 69 69 70 $text = apply_filters('pre_gettext', $text, $domain); 71 70 72 if (isset($l10n[$domain])) 71 return apply_filters('gettext', $l10n[$domain]->translate($text), $text );73 return apply_filters('gettext', $l10n[$domain]->translate($text), $text, $domain); 72 74 else 73 75 return $text; 74 76 }
