[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
Fri Jul 4 03:19:29 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 sambauers):

 I think if plugin authors want to bypass the built-in API then they are
 kind of on their own. That wp-load.php file isn't going to help much as it
 can't be relied on to be set.

 I don't now why plugins would bypass the API to eventually load it. Why
 not just pass the AJAX through the API in the first place like DD32
 suggests.

 There is also nothing stopping plugin authors requiring setting a variable
 in their files that points to the WordPress root in the case where it
 can't be determined.

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


More information about the wp-trac mailing list