[wp-trac] [WordPress Trac] #44937: Add _doing_it_wrong to load_plugin_textdomain

WordPress Trac noreply at wordpress.org
Thu Oct 17 00:35:17 UTC 2024


#44937: Add _doing_it_wrong to load_plugin_textdomain
--------------------------------------+-------------------------
 Reporter:  garrett-eclipse           |       Owner:  swissspidy
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.7
Component:  I18N                      |     Version:  4.7
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+-------------------------

Comment (by peterwilsoncc):

 In [changeset:"59244" 59244]:
 {{{
 #!CommitTicketReference repository="" revision="59244"
 Bundled Themes: Avoid loading translations too early.

 Load block patterns for bundled themes on the `init` hook to avoid
 triggering notices caused by loading the translations too early.

 The change is applied to Twenty Ten, Twenty Twelve, Twenty Thirteen,
 Twenty Fourteen, Twenty Fifteen, Twenty Sixteen and Twenty Twenty.

 Props domainsupport, swissspidy.
 Fixes #62237.
 See #44937.
 }}}

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


More information about the wp-trac mailing list