[wp-trac] Re: [WordPress Trac] #10140: Files being deleted during upgrade

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 14 04:45:27 GMT 2009


#10140: Files being deleted during upgrade
-----------------------------+----------------------------------------------
 Reporter:  takayukister     |       Owner:  dd32            
     Type:  defect (bug)     |      Status:  new             
 Priority:  highest omg bbq  |   Milestone:  2.8.1           
Component:  Upgrade/Install  |     Version:  2.8             
 Severity:  blocker          |    Keywords:  has-patch commit
-----------------------------+----------------------------------------------
Changes (by dd32):

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


Comment:

 ..Crud

 Yes, Attempting to delete null causes problems like that.. It gets
 interprated as its asking you to delete CWD or / by the underlying
 filesystem functions.

 and an undefined variable(ie. $null) does that.

 ...2.8's filesystem abstraction files includes a patch already to prevent
 deletions of null.. But obviously, 2.7's doesnt, During an upgrade from
 2.7 to 2.8, The 2.7's filesystem files are used (instead of new ones from
 2.8), The end result, is.. this..

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


More information about the wp-trac mailing list