[wp-trac] [WordPress Trac] #45468: Language_Pack_Upgrader should delete existing language files
WordPress Trac
noreply at wordpress.org
Mon Dec 3 10:50:34 UTC 2018
#45468: Language_Pack_Upgrader should delete existing language files
-----------------------------+-------------------------
Reporter: ocean90 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0.1
Component: Upgrade/Install | Version: 5.0
Severity: normal | Keywords: needs-patch
Focuses: |
-----------------------------+-------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45468>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list