[wp-trac] [WordPress Trac] #11494: Change way how PLUGINDIR and MUPLUGINDIR are defined

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 19 19:51:33 UTC 2009


#11494: Change way how PLUGINDIR and MUPLUGINDIR are defined
-----------------------------+----------------------------------------------
 Reporter:  sirzooro         |       Owner:           
     Type:  enhancement      |      Status:  new      
 Priority:  normal           |   Milestone:  3.0      
Component:  Upgrade/Install  |     Version:  2.9      
 Severity:  normal           |    Keywords:  has-patch
-----------------------------+----------------------------------------------

Comment(by strider72):

 -1 on this.

 If plugins are still using PLUGINDIR they need to be updated by the
 author.  This patch makes bad assumptions and in many cases will be
 setting an incorrect path, which will in turn make things harder to
 troubleshoot.

 There is no longer any "safe" way to set PLUGINDIR in code; because it is
 now valid for the plugin directory to be outside of ABSPATH.  PLUGINDIR
 has been entirely supplanted by WP_PLUGIN_DIR.

 I have no comment on MU constants, as I've never used it.  ;-)

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


More information about the wp-trac mailing list