Make WordPress Core

#45467 closed defect (bug) (fixed)

delete_theme() and delete_plugins() should delete language files in JSON format

Reported by: ocean90 Owned by: ocean90
Milestone: 5.1 Priority: normal
Severity: normal Version: 5.0
Component: I18N Keywords: has-patch
Focuses: Cc:


Related: [29856], #45103

When a theme or plugin is deleted, the JSON files should be deleted as well.

Attachments (2)

45467.patch (1.4 KB) - added by ocean90 16 months ago.
45467.diff (724 bytes) - added by swissspidy 16 months ago.

Download all attachments as: .zip

Change History (8)

#1 @pento
18 months ago

  • Milestone changed from 5.0.1 to 5.0.2

#2 @pento
18 months ago

  • Milestone changed from 5.0.2 to 5.0.3

#3 @audrasjb
17 months ago

  • Milestone changed from 5.0.3 to 5.1


5.0.3 is going to be released in a couple of weeks.

It doesn't appear this ticket can be handled in the next couple of weeks (the ticket still needs a patch). Let's address it in 5.1 which is coming in February. Feel free to ask for changing the milestone if you think this issue can be quickly resolved.

16 months ago

16 months ago

#4 @ocean90
16 months ago

  • Keywords has-patch added; needs-patch removed

#6 @ocean90
16 months ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 44675:

I18N: Remove JSON translations when deleting a theme or a plugin.

See #29860.
Fixes #45467.

Note: See TracTickets for help on using tickets.