[wp-trac] [WordPress Trac] #56936: Remove bundled theme files from $_old_files
WordPress Trac
noreply at wordpress.org
Tue Dec 13 18:50:53 UTC 2022
#56936: Remove bundled theme files from $_old_files
-----------------------------------+----------------------
Reporter: SergeyBiryukov | Owner: desrosj
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.1.2
Component: Upgrade/Install | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch fixed-major | Focuses:
-----------------------------------+----------------------
Changes (by desrosj):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"54966" 54966]:
{{{
#!CommitTicketReference repository="" revision="54966"
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.
Merges [54849] to the 6.1 branch.
Fixes #56936.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56936#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list