[wp-trac] [WordPress Trac] #56936: Remove bundled theme files from $_old_files
WordPress Trac
noreply at wordpress.org
Wed Nov 16 15:41:17 UTC 2022
#56936: Remove bundled theme files from $_old_files
------------------------------+----------------------
Reporter: SergeyBiryukov | Owner: desrosj
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.2
Component: Upgrade/Install | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+----------------------
Changes (by desrosj):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"54849" 54849]:
{{{
#!CommitTicketReference repository="" revision="54849"
Upgrade/Install: Remove bundled theme files from `$_old_files`.
Because themes are updated independently of Core updates, any deleted
files from bundled themes should not be included in the `$_old_files`
list.
Any file included in this list is deleted on update, which could cause
problems for sites with a given theme active if the removed files were
required in earlier versions of that theme and that theme is not updated
at the same time.
Props desrosj, costdev, SergeyBiryukov.
Fixes #56936.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56936#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list