WordPress.org

Make WordPress Core

Opened 3 weeks ago

Last modified 2 weeks ago

#49117 new defect (bug)

WP default themes' translations keep being installed when updating WordPress

Reported by: 3dwebvision Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version: 5.3.2
Component: Upgrade/Install Keywords: reporter-feedback
Focuses: Cc:
PR Number:

Description

This happens every website I maintain, and it has been happening ever since I got in the field of web design with wordpress. I'm reporting it because I couldn't find any refference to the issue on the net.

To keep the clutter to a minimum, I regularly add following lines to config.php:

define( 'CORE_UPGRADE_SKIP_NEW_BUNDLED', true );
define( 'WP_DEFAULT_THEME', 'whatever-the-theme-is' );

WP default themes' (3 twentywhatever themes) translations keep being installed in wp-content/languages/themes when updatig wordpress, no matter what WP version it is updating to, or what the default theme is.

Not a big issue, but still a bug and a nuisance.

Change History (5)

#1 @SergeyBiryukov
3 weeks ago

  • Summary changed from WP default themes' translations keep being installed when updatig wordpress to WP default themes' translations keep being installed when updating WordPress

#2 follow-up: @dd32
3 weeks ago

WP default themes' (3 twentywhatever themes) translations keep being installed in wp-content/languages/themes when updatig wordpress, no matter what WP version it is updating to, or what the default theme is.

WordPress installs/updates the translations for all installed themes, regardless of what the default theme is.

To clarify, do you have the themes installed on the site? CORE_UPGRADE_SKIP_NEW_BUNDLED should prevent future default themes from being installed, as long as it's been defined correctly in the config file (Before the wp-settings.php line)

#3 @ocean90
2 weeks ago

  • Keywords reporter-feedback added

#4 in reply to: ↑ 2 @3dwebvision
2 weeks ago

Replying to dd32:

WP default themes' (3 twentywhatever themes) translations keep being installed in wp-content/languages/themes when updatig wordpress, no matter what WP version it is updating to, or what the default theme is.

WordPress installs/updates the translations for all installed themes, regardless of what the default theme is.

To clarify, do you have the themes installed on the site? CORE_UPGRADE_SKIP_NEW_BUNDLED should prevent future default themes from being installed, as long as it's been defined correctly in the config file (Before the wp-settings.php line)

No, the themes are not being installed when wordpress is being updated. Only translation files. And to clarify even more, CORE_UPGRADE_SKIP_NEW_BUNDLED is line 183, and wp-settings.php line is 209.

#5 @3dwebvision
2 weeks ago

Btw, this happens only on wordpress update. Not on theme/plugin/translation update.

Note: See TracTickets for help on using tickets.