Make WordPress Core

Opened 7 weeks ago

Last modified 3 weeks ago

#45468 new defect (bug)

Language_Pack_Upgrader should delete existing language files

Reported by: ocean90 Owned by:
Milestone: 5.1 Priority: normal
Severity: normal Version: 5.0
Component: Upgrade/Install Keywords: needs-patch
Focuses: Cc:


Related: #45103, #45467

Translations in JSON format are stored in a file named <locale>-<hash-of-file-path>.json. This means if the file is removed or renamed the hash will change too and the old file is no longer used. To avoid filling up the disk with unnecessary files the upgrader should remove all exiting files first.

Change History (3)

#1 @pento
5 weeks ago

  • Milestone changed from 5.0.1 to 5.0.2

#2 @pento
5 weeks ago

  • Milestone changed from 5.0.2 to 5.0.3

#3 @audrasjb
3 weeks ago

  • Milestone changed from 5.0.3 to 5.1

5.0.3 is going to be released in a couple of weeks. We are currently sorting the remaining tickets in the milestone. It doesn't appear that ticket can be handled in the next couple of days (still needs a patch). Let's address it in 5.1 which is coming in February. Feel free to change/ask to change the milestone if you think the issue can be quickly resolved.

Note: See TracTickets for help on using tickets.