[wp-trac] [WordPress Trac] #10541: WP 2.8.2 and 2.8.3 auto-upgrade failing due to fs_connect() returning false 'directory doesn't exist'

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 15 07:18:53 UTC 2009


#10541: WP 2.8.2 and 2.8.3 auto-upgrade failing due to fs_connect() returning false
'directory doesn't exist'
--------------------------+-------------------------------------------------
 Reporter:  jimsky7       |       Owner:  dd32                          
     Type:  defect (bug)  |      Status:  new                           
 Priority:  normal        |   Milestone:  2.9                           
Component:  Filesystem    |     Version:  2.9                           
 Severity:  normal        |    Keywords:  has-patch needs-testing commit
--------------------------+-------------------------------------------------
Changes (by dd32):

  * keywords:  => has-patch needs-testing commit


Comment:

 > attachment 10541.diff added
  * ::abspath() contains code for checking if ABSPATH == /
  * Previously it was looping over all the if else branches, not something
 it was originally intended to do
  * ::find_folder() doesnt have the code for ABSPATH == /, therefor, it was
 failing.

 Patch fixes it for me, trunk's the best location for testing.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10541#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list