Make WordPress Core

Opened 22 months ago

Last modified 10 months ago

#56505 new defect (bug)

Un-necessary Language Files are Installed

Reported by: domainsupport's profile domainsupport Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.0.2
Component: Upgrade/Install Keywords:
Focuses: Cc:


When your WordPress installation is set to a language other than "English (United States)", each time a core update is installed (or re-installed), several language files are added to /wp-content/languages/ whether they are required or not ...

/wp-content/languages/plugins/akismet-en GB.po

I believe that these files should only be installed if the relevant plugin or theme is installed.


Change History (5)

#1 @domainsupport
12 months ago

This issue persists in v6.2.2

#2 @cutu234
10 months ago

I totally agree. It's a pain in the neck. The issue is still there in 6.3.1.

#3 @domainsupport
10 months ago

Glad I’m not the only one!

#4 @cutu234
10 months ago

It's even worse. After each and every update I have to remove files like config-sample.php. There is no reason to recreate this file in an existing installation. I use Mainwp for maintaining sites and wrote a script to remove all unnecessary files after updates. Works great, but not everyone needs or wants a remote maintenance system.

#5 @domainsupport
10 months ago

Yes, I saw that too. And I've also created a plugin to automatically detect and delete un-used language files. Would be good to get this behaviour fixed.

Note: See TracTickets for help on using tickets.