[wpmu-trac] [WordPress MU Trac] #372: Move PLUGDIR declaration to above where it is needed

WordPress MU Trac wpmu-trac at lists.automattic.com
Thu Jul 12 01:16:06 GMT 2007


#372: Move PLUGDIR declaration to above where it is needed
-------------------------+--------------------------------------------------
 Reporter:  mysorehead   |       Owner:  somebody 
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  WPMU 2.0 
Component:  component1   |     Version:  2.0      
 Severity:  minor        |    Keywords:  PLUGINDIR
-------------------------+--------------------------------------------------
 Can we move lines 103 & 104 in wp-settings.php down to line 268 - just
 above where PLUGINDIR is first used (and below the running of the mu-
 plugins) so that the PLUGDIR value can be set with a mu-plugin?  This
 would mean that different plugins could be easily made available to
 different users.  I've copied lines 103 and 104 to show what I mean.

 Thanks
 Richard

 if ( !defined('PLUGINDIR') )
    define('PLUGINDIR', 'wp-content/plugins'); // no leading slash, no
 trailing slash

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/372>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list