[wp-trac] [WordPress Trac] #34114: Remove the requirement to call load_plugin_textdomain() or load_theme_textdomain()
WordPress Trac
noreply at wordpress.org
Tue May 10 21:54:33 UTC 2016
#34114: Remove the requirement to call load_plugin_textdomain() or
load_theme_textdomain()
---------------------------------------------+-------------------------
Reporter: johnbillion | Owner: swissspidy
Type: enhancement | Status: closed
Priority: high | Milestone: 4.6
Component: I18N | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-------------------------
Comment (by jrf):
> By initially scanning the wp-content/languages directory and loading
available MO files just-in-time, plugins and themes do not need to
manually load text domains anymore.
Please make sure that in any communications around this it will say:
"''plugins and themes '''for which translations are provided through
translate.wordpress.org''' do not need to manually load text domains
anymore''"
AFAICS for plugins/themes hosted elsewhere and therefore without access to
translate.wordpress.org, this will not work and could actually be
problematic. Also see my comment regarding this in
[https://core.trac.wordpress.org/ticket/34213#comment:25
#34213#comment:25]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34114#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list