Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

wpForo 1.x.x [Closed] Back slash before an apostrohpe on messages emailed from the Forum

8 Posts
4 Users
1 Reactions
3,268 Views
Robert
Posts: 10616
Admin
(@robert)
Support Team
Joined: 9 years ago

Sure, we found the reason and it's already fixed in v1.3.2 .

Posts: 56
(@glowball)
Trusted Member
Joined: 8 years ago

Do you have a quick fix for this we could put in place in the meantime?  Thanks for your help.

Robert
Posts: 10616
Admin
(@robert)
Support Team
Joined: 9 years ago

You should edit the /wpforo/wp-hooks.php file.

Find this line:

$subject = strip_tags(str_replace($from_tags, $to_words, $subject));

Change to this:

$subject = stripslashes(strip_tags(str_replace($from_tags, $to_words, $subject)));

Then find this:

$message = str_replace($from_tags, $to_words, $message);

And change to this:

$message = stripslashes(str_replace($from_tags, $to_words, $message));

Please note: you should do this five times for each one, there are five same codes.

 

Page 2 / 2