[wp-trac] [WordPress Trac] #45468: Language_Pack_Upgrader should delete existing language files

WordPress Trac noreply at wordpress.org
Mon Jan 21 21:12:28 UTC 2019


#45468: Language_Pack_Upgrader should delete existing language files
-----------------------------+----------------------
 Reporter:  ocean90          |       Owner:  ocean90
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  5.1
Component:  Upgrade/Install  |     Version:  5.0
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+----------------------
Changes (by ocean90):

 * owner:  (none) => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44676" 44676]:
 {{{
 #!CommitTicketReference repository="" revision="44676"
 I18N: Enable `clear_destination` in upgrader for updating/installing
 language packs.

 Introduces `Language_Pack_Upgrader::clear_destination()` to clear existing
 translations before installing new translations. Ensures that unused
 translations in JSON format are cleaned up.

 Props dd32, swissspidy, ocean90.
 Fixes #45468.
 }}}

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


More information about the wp-trac mailing list