[wp-trac] [WordPress Trac] #49625: load_theme_textdomain() opens local files without domain in their name
WordPress Trac
noreply at wordpress.org
Wed Mar 11 18:48:37 UTC 2020
#49625: load_theme_textdomain() opens local files without domain in their name
--------------------------+----------------------
Reporter: marekdedic | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: I18N | Version:
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
--------------------------+----------------------
Changes (by ocean90):
* status: new => closed
* version: 5.3.2 =>
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Hello @marekdedic, thanks for the report!
It’s correct that the loading of theme translation files differs from
plugin files. This was always the case, even before your linked changeset.
Due to backward compatibility we can’t just change it. We the introduction
of lazy loading and language packs there also wouldn’t be any benefit in
changing it now after so many years. To be honest, plugins should rather
not have the text domain.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49625#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list