[wp-trac] [WordPress Trac] #56936: Remove bundled theme files from $_old_files

WordPress Trac noreply at wordpress.org
Mon Oct 31 23:39:35 UTC 2022


#56936: Remove bundled theme files from $_old_files
-----------------------------+--------------------
 Reporter:  SergeyBiryukov   |      Owner:  (none)
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  6.2
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+--------------------
 Per @desrosj in comment:4:ticket:56934:
 > I'm wondering about including the deleted theme files here. Except 6.0,
 I don't see any additional `wp-content/themes/*` entries in the list.
 >
 > As far as I know, themes are not included with update packages unless
 it's the first release being included (and they are not intentionally
 skipped with the `CORE_UPGRADE_SKIP_NEW_BUNDLED` constant).
 >
 > ...
 >
 > In my testing, it seems that files within `wp-content/themes/*` are not
 flagged during Core upgrades and can probably be left out from this list.

 Based on the above, it looks like bundled theme files should be removed
 from the list and a note should be added to clarify that for future
 updates.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56936>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list