[wp-trac] [WordPress Trac] #37113: unload_textdomain() not working for text domains that are loaded just in time

WordPress Trac noreply at wordpress.org
Thu Jun 23 13:16:07 UTC 2016


#37113: unload_textdomain() not working for text domains that are loaded just in
time
--------------------------------------+------------------------
 Reporter:  swissspidy                |       Owner:  ocean90
     Type:  defect (bug)              |      Status:  reviewing
 Priority:  normal                    |   Milestone:  4.6
Component:  General                   |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-unit-tests has-patch  |     Focuses:
--------------------------------------+------------------------

Comment (by swissspidy):

 [attachment:37113.2.diff] extends `load_textdomain()` to clear unloaded
 domains from the `$l10n_unloaded` array so they can be manually loaded
 again.

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


More information about the wp-trac mailing list