load_textdomain() merges even if not needed.
|Reported by:||hakre||Owned by:||nbachiyski|
|Component:||I18N||Keywords:||has-patch tested 2nd-opinion|
About 4 weeks ago in #10286 with  &  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.
Change History (19)
- Keywords 2nd-opinion added
- Milestone changed from 2.8.3 to 2.9
- Type changed from defect (bug) to enhancement