[wp-trac] [WordPress Trac] #10971: Translate functions when no locale are expensive no-ops
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 18 13:51:26 UTC 2009
#10971: Translate functions when no locale are expensive no-ops
--------------------------+-------------------------------------------------
Reporter: johanee | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Performance | Version: 2.9
Severity: major | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by westi):
Surely a much better solution to this is to store a static empty
translations object and return that rather than re-introducing a lot of
duplicated code.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10971#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list