wpDiscuz - WordPress Comment Plugin
Make WPDiscuz-AJAX ...
 
Share:
Notifications
Clear all

[Solved] Make WPDiscuz-AJAX compliant with custom setups  


NintendoReporters
Posts: 2
(@nintendoreporters)
New Member
Joined: 3 weeks ago

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

 
 

uggestion zou zijn om dat te veranderen in;

 

Topic Tags
2 Replies
Asti
Posts: 1407
 Asti
Support
(@asti)
Support member
Joined: 3 years ago

@nintendoreporters,

We'll take this into consideration for future updates. 

NintendoReporters
Posts: 2
(@nintendoreporters)
New Member
Joined: 3 weeks ago

Great guys 🙂 
Much appreciated for sure!

Share: