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

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 28 15:20:47 UTC 2011


#16953: Allow symlinked plugins
-------------------------+-----------------------------
 Reporter:  scribu       |       Owner:  scribu
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Future Release
Component:  Plugins      |     Version:
 Severity:  normal       |  Resolution:  worksforme
 Keywords:  has-patch    |
-------------------------+-----------------------------
Changes (by augustash):

 * status:  reopened => closed
 * resolution:   => worksforme


Comment:

 the above patch has been tested in our local and production environments.
 The patch is really simple as all that's needed is to use the
 '''basename()''' and '''dirname()''' functions to extract the local
 directory and filename from the passed in file.

 '''dirname''' doc = http://www.php.net/manual/en/function.dirname.php
 '''basename''' doc = http://www.php.net/manual/en/function.basename.php

 or use '''pathinfo''' to get all the information =
 http://www.php.net/manual/en/function.pathinfo.php

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


More information about the wp-trac mailing list