[wp-trac] Re: [WordPress Trac] #6938: Allow wp-content directory to exist in a custom location (not relative to ABSPATH)

WordPress Trac wp-trac at lists.automattic.com
Wed May 28 02:22:23 GMT 2008


#6938: Allow wp-content directory to exist in a custom location (not relative to
ABSPATH)
-------------------------+--------------------------------------------------
 Reporter:  sambauers    |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.6      
Component:  General      |      Version:  2.5.1    
 Severity:  normal       |   Resolution:           
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Comment (by DD32):

 > Yeah, I wasn't 100% sure about the changes I made to the WP File System
 stuff. I meant to contact you about it, but the patch was committed before
 I did that. Either way, now you know. :)

 I saw your patch the other day, Just hadnt had a chance to look at what it
 meant yet :)

 >Note, these custom locations aren't relative to ABSPATH at all anymore.
 They are full paths and URLs. So I'm changing the title of this ticket.

 Yep, That makes it easier from the point of developers, I'm not sure how
 it'll affect the plugin upgrader code though.

 At present, It just locates the base of the wordpress installer (looking
 for wp-config.php i think - or was it wp-settings, i cant remember) so it
 needs to be updated anyway to handle the new locations, I doubt it'd have
 worked well with a relative (../../../) PLUGINDIR constant before too now
 i think of it (It would've worked in some situations)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6938#comment:15>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list