WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 10 days ago

#16953 closed enhancement

Allow symlinked plugins — at Initial Version

Reported by: scribu Owned by:
Milestone: 3.9 Priority: normal
Severity: normal Version:
Component: Plugins Keywords: needs-patch
Focuses: Cc:

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.

Change History (1)

scribu3 years ago

'pre_plugin_basename' filter

Note: See TracTickets for help on using tickets.