AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Closed] Back slash before an apostrohpe on messages emailed from the Forum

8 Posts
4 Users
1 Reactions
4,212 Views
Robert
Posts: 10716
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 2 months ago

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


Posts: 56
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@glowball)
Trusted Member
Joined: 9 years ago

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


Robert
Posts: 10716
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 2 months 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
Share: