Commit 3016d48
committed
Upgrade/Install: Remove bundled theme files from
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@54849 602fd350-edb4-49c9-b593-d223f7449a82$_old_files.1 parent 0cb8475 commit 3016d48
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
843 | 845 | | |
844 | 846 | | |
845 | 847 | | |
846 | | - | |
847 | | - | |
848 | 848 | | |
849 | | - | |
850 | | - | |
851 | 849 | | |
852 | 850 | | |
853 | 851 | | |
| |||
0 commit comments