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

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 23 21:02:44 UTC 2011


#16953: Allow symlinked plugins
------------------------------+-----------------------
 Reporter:  scribu            |       Owner:  scribu
     Type:  enhancement       |      Status:  accepted
 Priority:  normal            |   Milestone:  3.2
Component:  Plugins           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------
Changes (by scribu):

 * keywords:  has-patch => has-patch commit
 * milestone:  Awaiting Review => 3.2


Old description:

> There are many scenarios where one would like to have a plugin's folder
> symlinked to another location.
>
> A couple of these scenarios are described in #13550
>
> The reason this is not currently possible is because plugin_basename()
> doesn't know how to handle symlinks.
>
> The most simple and most flexible solution is to make the plugin basename
> filterable, leaving individual devs to set it up according to their
> environment.

New description:

 There are many scenarios where one would like to have a plugin's folder
 symlinked to another location.

 A couple of these scenarios are described in #13550.

 The reason this is not currently possible is because plugin_basename()
 doesn't know how to handle symlinks.

 The most simple and most flexible solution is to make the plugin basename
 filterable, leaving individual devs to handle symlinks, depending on their
 environment.

--

Comment:

 To test:

  1. Extract [attachment:test.zip] into a wp root directory
  2. Activate Test Plugin

 The archive already contains a symlink, so it probably won't work on
 Windows.

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


More information about the wp-trac mailing list