[wp-trac] [WordPress Trac] #54589: Audit and preload current "from" version files into memory before upgrading filesystem to the "to" version

WordPress Trac noreply at wordpress.org
Thu Mar 17 23:54:19 UTC 2022


#54589: Audit and preload current "from" version files into memory before upgrading
filesystem to the "to" version
--------------------------------------------+---------------------
 Reporter:  hellofromTonya                  |       Owner:  (none)
     Type:  enhancement                     |      Status:  new
 Priority:  normal                          |   Milestone:  6.0
Component:  Upgrade/Install                 |     Version:  2.7
 Severity:  normal                          |  Resolution:
 Keywords:  early has-patch has-unit-tests  |     Focuses:
--------------------------------------------+---------------------
Changes (by costdev):

 * version:   => 2.7
 * type:  defect (bug) => enhancement


Comment:

 Per the discussion on the bug scrub, I'm changing this ticket to an
 `enhancement`, as it proposes a general improvement as a follow-up to
 #54546 and changing the `Version` to `2.7`.

 While the `WP_Upgrader` and `Core_Upgrader` classes were introduced in
 `2.8`, `wp-admin/includes/update-core.php` was introduced in `2.7`, and
 the copying of Core files via `_copy_dir()` - initially, `copy_dir()` -
 was introduced in [8595]. From this point onwards, there was no mechanism
 to ensure required resources were preloaded.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54589#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list