Translate functions when no locale are expensive no-ops — at Initial Version
|Reported by:||johanee||Owned by:|
When there is no locale loaded WordPress creates a new empty Translations object on every call to any translation function ((), ...) which is then used to do the fruitless no-op lookup.
Reverting to the 2.7 style (of testing $l10n[$domain] directly in translate() and friends) makes page load of new install of 2.9 trunk front page 17% faster!!