#42041 closed defect (bug) (invalid)
Localization files for core themes in the languages directory should not exist if core theme is not installed.
Reported by: | henriquemattos | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.7 |
Component: | I18N | Keywords: | |
Focuses: | Cc: |
Description
I'm not sure if the language files were kept in the wp-content/languages when I removed the twenty* themes from the admin or if they were downloaded back when updated WordPress to 4.8.2. Either way, themes are not presented, so shouldn't be the localization files.
Currently I don't have a test system to reproduce it. I'm sorry.
wp-content/languages/themes/twentyfifteen-pt_BR.mo
wp-content/languages/themes/twentyseventeen-pt_BR.mo
wp-content/languages/themes/twentytwelve-pt_BR.po
wp-content/languages/themes/twentythirteen-pt_BR.po
wp-content/languages/themes/twentyfourteen-pt_BR.mo
wp-content/languages/themes/twentytwelve-pt_BR.mo
wp-content/languages/themes/twentyfifteen-pt_BR.po
wp-content/languages/themes/twentyfourteen-pt_BR.po
wp-content/languages/themes/twentythirteen-pt_BR.mo
wp-content/languages/themes/twentysixteen-pt_BR.po
wp-content/languages/themes/twentyseventeen-pt_BR.po
wp-content/languages/themes/twentysixteen-pt_BR.mo
Change History (7)
#1
follow-up:
↓ 2
@
7 years ago
- Focuses administration template removed
- Version changed from 4.8.1 to 3.7
#2
in reply to:
↑ 1
@
7 years ago
Replying to swissspidy:
Hey there,
Thanks for your report and welcome to Trac!
As mentioned in #18200, translation files are not deleted when removing a plugin or theme. So on your site these aren't installed with the latest WordPress update, but they were there before.
Wow! I'm really impressed with the speed of the assignment. Thank you very much.
As mentioned, I didn't check before if the files were there. I removed the unused themes and a couple days later there was the WP update. After that, Sucuri Scanner started mentioning this files in the Core Integrity Check. I had to delete them manually.
Let me know if any further information should be provided.
Kindly regards,
Henrique Mattos
#3
@
7 years ago
If you delete a theme or plugin in wp-admin the translations files should be removed, see [29856].
#5
@
7 years ago
- Resolution set to maybelater
- Status changed from new to closed
Hi, @ocean90 . As I mentioned, I'm not able to reproduce it now because I don't have a WP installation to try it. As soon as I can setup a new system, I will try to reproduce it once again.
My concern is that either I removed the Twenty* themes from the Admin and the language files kept there or they came back when I upgraded to 4.8.2.
Kindly regards,
Henrique Mattos
Hey there,
Thanks for your report and welcome to Trac!
As mentioned in #18200, translation files are not deleted when removing a plugin or theme. So on your site these aren't installed with the latest WordPress update, but they were there before.