This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Wrong path for plugins directory

#4012
Ernest MarcinkoErnest Marcinko
Keymaster

Hi!

I’m currently working on the upcoming version and if I remember correctly I fixed this as someone reported something similar with the paths.

I think there are only 3 instances of ABSPATH there in the current version. The fixed lines look like this now:

[code]echo file_get_contents(WP_PLUGIN_DIR . ‘/’ . $style[‘magnifierimage’]);[/code]

Would you mind checking if this solution is working in your case? A core developer suggested using the WP_PLUGIN_DIR constant as it should hold the correct plugin directory at all times.

I will mark this path issue solved if you can confirm that this solution works, and we don’t need to worry about this in the future versions anymore 😉