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

WordPress Trac noreply at wordpress.org
Tue Jan 29 12:48:46 UTC 2013


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

Comment (by markus.magnuson):

 I resolved all my plugin problems caused by symlinks in the wp-content
 path by using the realpath() function in my wp-config.php. I simply
 replace this:
 {{{
 define('WP_CONTENT_DIR',$_SERVER['DOCUMENT_ROOT'] . '/wp-content');
 }}}
 With this:
 {{{
 define('WP_CONTENT_DIR', realpath($_SERVER['DOCUMENT_ROOT'] . '/wp-
 content'));
 }}}
 Thought that might help anyone ending up in this ticket when
 troubleshooting.

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


More information about the wp-trac mailing list