#46446 closed defect (bug) (worksforme)
Language files are not deleted when the twenty-* themes are deleted
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.1 |
Component: | I18N | Keywords: | |
Focuses: | Cc: |
Description
When I deinstall the default theme Twenty-nineteen the language files are still present in the subfolder themes of /wp-content/languages/.
There are also languages files from the old default themes twenty-seventeen ...
I assume that in the deinstallation functon there are some unlink calls missing.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hey @mumbomedia. Thanks for opening this ticket.
When you say "deinstallation" do you mean when you switch to another theme, or when you delete the theme from the site?
In the first case, the themes languages files are kept into the
wp-content/languages/themes
folder which is normal.In the second case, when the theme is deleted, the themes languages files are correctly deleted.
Tested on WordPress 5.1 and WordPress 5.5.
I'll close this ticket as
worksforme
.Feel free to reopen it if you still notice the behaviour.