Changes between Initial Version and Version 1 of Ticket #16953, comment 57
- Timestamp:
- 12/06/2013 05:21:54 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16953, comment 57
initial v1 1 Replying to [comment:39 markus.magnuson]: 2 > 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: 3 > {{{ 4 > define('WP_CONTENT_DIR',$_SERVER['DOCUMENT_ROOT'] . '/wp-content'); 5 > }}} 6 > With this: 7 > {{{ 8 > define('WP_CONTENT_DIR', realpath($_SERVER['DOCUMENT_ROOT'] . '/wp-content')); 9 > }}} 10 > Thought that might help anyone ending up in this ticket when troubleshooting. 11 12 ---- 13 1 14 I can confirm that the below solution worked for me in using: 2 3 15 4 16 {{{ … … 11 23 }}} 12 24 25 ------ 13 26 14 Replying to [comment:39 markus.magnuson]: 15 > 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: 16 > {{{ 17 > define('WP_CONTENT_DIR',$_SERVER['DOCUMENT_ROOT'] . '/wp-content'); 18 > }}} 19 > With this: 20 > {{{ 21 > define('WP_CONTENT_DIR', realpath($_SERVER['DOCUMENT_ROOT'] . '/wp-content')); 22 > }}} 23 > Thought that might help anyone ending up in this ticket when troubleshooting. 27 But, I have been using this as of late: [https://gist.github.com/aubreypwd/7828624]