[wp-trac] [WordPress Trac] #7704: WP_CONTENT_DIR and PLUGINDIR not compatible

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 7 09:50:43 GMT 2008


#7704: WP_CONTENT_DIR and PLUGINDIR not compatible
-----------------------+----------------------------------------------------
 Reporter:  strider72  |       Owner:  anonymous           
     Type:  defect     |      Status:  new                 
 Priority:  normal     |   Milestone:  2.7                 
Component:  General    |     Version:  2.6.1               
 Severity:  normal     |    Keywords:  plugins, needs-patch
-----------------------+----------------------------------------------------
 If I set WP_CONTENT_DIR to a custom location, PLUGINDIR is still set to be
 inside the _default_ location of wp-content.

 I discovered this through the [http://wphoneplugin.org/ wPhone plugin].
 It doesn't run when I use a custom WP_CONTENT_DIR, because it is looking
 for itself in PLUGINDIR/wphone/ -- (see wphone.php line 50)

 FIX: When WP_CONTENT_DIR is set, PLUGINDIR should default to
 WP_CONTENT_DIR/plugins

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7704>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list