[wp-trac] [WordPress Trac] #16953: Allow symlinked plugins

WordPress Trac noreply at wordpress.org
Sun Dec 22 02:50:59 UTC 2013


#16953: Allow symlinked plugins
----------------------------------------------+----------------------------
 Reporter:  scribu                            |       Owner:  rmccue
     Type:  enhancement                       |      Status:  assigned
 Priority:  normal                            |   Milestone:  Future
Component:  Plugins                           |  Release
 Severity:  normal                            |     Version:
 Keywords:  has-patch dev-feedback 3.9-early  |  Resolution:
----------------------------------------------+----------------------------

Comment (by rmccue):

 Replying to [comment:93 jdgrimes]:
 > [attachment:16953.9.diff] refreshes [attachment:16953.8.diff] and adds
 support for network-active plugins in multisite. I moved the
 initialization of `$GLOBALS['wp_plugin_paths']` to up above where the mu-
 plugins are loaded. Basically it needs to be initialized as an array
 before there are any calls to `plugin_basename()`, otherwise that will
 give an "Invalid argument supplied for foreach" error. Maybe there is a
 better place to initialize that?

 I didn't think `plugin_basename()` could safely be used in mu-plugins? If
 so, +1 on your patch then.

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


More information about the wp-trac mailing list