[wp-trac] [WordPress Trac] #61206: Allow to filter the returned value of `WP_Textdomain_Registry::get()`

WordPress Trac noreply at wordpress.org
Wed May 29 15:43:01 UTC 2024


#61206: Allow to filter the returned value of `WP_Textdomain_Registry::get()`
------------------------------+-------------------------
 Reporter:  Chouby            |       Owner:  swissspidy
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.6
Component:  I18N              |     Version:  6.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-------------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"58236" 58236]:
 {{{
 #!CommitTicketReference repository="" revision="58236"
 I18N: Add new `lang_dir_for_domain` filter.

 This new filter in `WP_Textdomain_Registry` allows plugins to override the
 determined languages folder when using just-in-time translation loading.

 Props swissspidy, chouby, johnbillion.
 Fixes #61206.
 }}}

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


More information about the wp-trac mailing list