Timeline for Plugins in symlinked directories?
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 18, 2012 at 7:45 | comment | added | MikeSchinkel |
Great solution @Jan. I implemented something similar by calling the functions and looping because I forgot those variables were accessible as global . Thanks to your post here I realized I could make it much simpler. BTW, I'm also testing for false === strpos( __FILE__, WP_CONTENT_DIR ) before running your if statements because I'm assuming if the plugin is in the WP_CONTENT_DIR it's not symlinked; I'm hoping that's valid logic.
|
|
Apr 20, 2011 at 10:22 | history | answered | Jan Fabry | CC BY-SA 3.0 |