Bug Reports
3
Posts
2
Users
0
Reactions
980
Views
Sep 27, 2020 11:47 am
Hi there,
I noticed that the wpdiscuz-ajax does the following;
function wpdiscuz_ABSPATH() { $path = join(DIRECTORY_SEPARATOR, ["wp-content", "plugins", "wpdiscuz", "utils", "ajax"]);return str_replace($path, "", __DIR__); }
Which is fine in most cases BUT not when people have chosen to change the content directory.
Hope you will consider looking into this to support even more setups.
Best regards,
Patrick
2 Replies
Sep 28, 2020 3:57 pm
Great guys 🙂
Much appreciated for sure!