[wp-trac] [WordPress Trac] #62150: ensure that deleted dirs from the SimplePie library are included in `$_old_files` prior to release of 6.7
WordPress Trac
noreply at wordpress.org
Tue Oct 1 21:55:25 UTC 2024
#62150: ensure that deleted dirs from the SimplePie library are included in
`$_old_files` prior to release of 6.7
-----------------------------+---------------------
Reporter: pbiron | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.7
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+---------------------
Comment (by pbiron):
Yes, I'm aware of when the changes to `$_old_files` happens...and the fact
that the process is well documented in the handbook.
The specific purpose of this ticket is that there have been problems in
the past with the tooling used to generate the changes for `$_old_files`
where directories that used to exist but no longer do in the release being
build don't get added to the array...and since it's known that 6.7
**will** have such directories that need to be deleted, I just wanted to
make sure that they are included. That is, the list of **files** that no
longer exist get added to the array but empty directories are aren't.
This has resulted in the directories not being deleted when an update
occurs.
So, if you want to repurpose the ticket to something like "make sure that
the tooling correctly adds empty directories to the array" I'm fine with
that...but repurposing it as "follow the handbook about updating
`$_old_files` isn't really appropriate, IMHO.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62150#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list