WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #16953


Ignore:
Timestamp:
03/23/11 21:02:44 (4 years ago)
Author:
scribu
Comment:

To test:

  1. Extract 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 out of the box.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16953

    • Property Keywords has-patch commit added
    • Property Owner set to scribu
    • Property Status changed from new to accepted
    • Property Milestone changed from Awaiting Review to 3.2
  • Ticket #16953 – Description

    initial v2  
    11There are many scenarios where one would like to have a plugin's folder symlinked to another location. 
    22 
    3 A couple of these scenarios are described in #13550 
     3A couple of these scenarios are described in #13550. 
    44 
    55The reason this is not currently possible is because plugin_basename() doesn't know how to handle symlinks. 
    66 
    7 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. 
     7The most simple and most flexible solution is to make the plugin basename filterable, leaving individual devs to handle symlinks, depending on their environment.