[wp-trac] [WordPress Trac] #10527: load_textdomain() merges even if not needed.
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 1 09:15:34 UTC 2009
#10527: load_textdomain() merges even if not needed.
--------------------------+-------------------------------------------------
Reporter: hakre | Owner: nbachiyski
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8.3
Component: i18n | Version: 2.8.1
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
About 4 weeks ago in #10286 with [11680] & [11681] merging of textdomains
have been introduced in load_textdomain(). That generally is a good
feature, but I would like to see it optional to not merge textdomains over
and over again.
for example with one of my co-maintained plugin we load the translation in
an important object as well as in the admin panel. doing the merge now in
the admin panel would not be necessary.
Therefore I suggest to add an optional parameter that flags if a merge is
wanted / needed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10527>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list