[wp-trac] [WordPress Trac] #34114: Remove the requirement to call load_plugin_textdomain() or load_theme_textdomain()

WordPress Trac noreply at wordpress.org
Mon May 16 15:09:35 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 ocean90):

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


Comment:

 In [changeset:"37440"]:
 {{{
 #!CommitTicketReference repository="" revision="37440"
 I18N: In `get_translations_for_domain()` check if the global `$l10n` was
 set by `_load_textdomain_just_in_time()` before accessing it.

 Props danielhuesken.
 Fixes #34114.
 }}}

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


More information about the wp-trac mailing list