[wp-trac] [WordPress Trac] #11638: update-core.php doesn't remove the upgrade files if the upgrade fails due to too old of a PHP or MySQL version

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 27 06:33:47 UTC 2009


#11638: update-core.php doesn't remove the upgrade files if the upgrade fails due
to too old of a PHP or MySQL version
-----------------------------+----------------------------------------------
 Reporter:  nacin            |       Owner:       
     Type:  defect (bug)     |      Status:  new  
 Priority:  normal           |   Milestone:  2.9.1
Component:  Upgrade/Install  |     Version:  2.9  
 Severity:  normal           |    Keywords:       
-----------------------------+----------------------------------------------
 Related: #11464, where this code came from.

 wp-admin/includes/update-core.php, which gets copied over after download
 during an upgrade, has a new check in 2.9 to ensure that the MySQL and PHP
 versions are is required by the downloaded version.

 However, I didn't account for the fact that the code should clean up after
 itself by deleting the downloaded package on failure, just as it does on
 any other failure it encounters. This should be fixed in 2.9.1.

 Patch on its way.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11638>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list