[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 20:04:54 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:
---------------------------------------------+-------------------------
Changes (by swissspidy):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37415"]:
 {{{
 #!CommitTicketReference repository="" revision="37415"
 I18N: Remove the requirement to call `load_plugin_textdomain()` /
 `load_theme_textdomain()`.

 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.

 Props swissspidy, ocean90.
 Fixes #34114
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34114#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list