[wpmu-trac] [WordPress MU Trac] #1069: MU update for 2.8.2 failing with error message wp-filesystem-direct.php on line 131

WordPress MU Trac wpmu-trac at lists.automattic.com
Mon Aug 3 16:48:00 UTC 2009


#1069: MU update for 2.8.2 failing with error message wp-filesystem-direct.php on
line 131
-------------------------+--------------------------------------------------
 Reporter:  nyliferocks  |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  highest      |   Milestone:          
Component:  component1   |     Version:  2.8.2   
 Severity:  major        |    Keywords:          
-------------------------+--------------------------------------------------
Changes (by Albertane):

 * cc: Albertane (added)


Comment:

 In /wp-admin/includes/class-wp-upgrader.php

 Change:

 // Copy update-core.php from the new version into place.
 if ( !$wp_filesystem->copy($working_dir . '/wordpress/wp-admin/includes
 /update-core.php', $wp_dir . 'wp-admin/includes/update-core.php', true) )
 {

 To:

 // Copy update-core.php from the new version into place.
 if ( !$wp_filesystem->copy($working_dir . '/wordpress-mu/wp-admin/includes
 /update-core.php', $wp_dir . 'wp-admin/includes/update-core.php', true) )
 {

 Automatic upgrade should then work correctly.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1069#comment:4>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list