Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16953, comment 57


Ignore:
Timestamp:
12/06/2013 05:21:54 PM (11 years ago)
Author:
aubreypwd
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16953, comment 57

    initial v1  
     1Replying 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
    114I can confirm that the below solution worked for me in using:
    2 
    315
    416{{{
     
    1123}}}
    1224
     25------
    1326
    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.
     27But, I have been using this as of late: [https://gist.github.com/aubreypwd/7828624]