[wp-trac] [WordPress Trac] #11495: Automatic upgrade does not use custom directory structure

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 6 13:35:36 UTC 2010


#11495: Automatic upgrade does not use custom directory structure
-----------------------------+----------------------------------------------
 Reporter:  sirzooro         |       Owner:             
     Type:  defect (bug)     |      Status:  new        
 Priority:  normal           |   Milestone:  3.0        
Component:  Upgrade/Install  |     Version:  2.9        
 Severity:  normal           |    Keywords:  needs-patch
-----------------------------+----------------------------------------------

Comment(by hakre):

 Replying to [comment:11 dd32]:
 > >  I'd like to focus on the concrete bug before doing free-thinking
 about upcomming features.
 >
 > The feature IS the bugfix.
 >
 > WordPress uses {{{ABSPATH}}} for the core upgrade and assumes thats
 where files live. But as pointed out, Those who move their content
 direcotry, end up with files in their default location rather than their
 custom location. End of story. Therefor, The upgrade needs an extra step
 afterwards, to check if any custom directories are defined, and
 move/copy/overwrite them with the new files too.
 sounds complicated to me. why not let core upgrade use the correct
 location firsthand?

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


More information about the wp-trac mailing list