Support » Plugin: Testimonials Pro » [Plugin: Testimonials Pro] Got random "\" appearing in my testimonials

Viewing 6 replies - 1 through 6 (of 6 total)
  • Just for information, my character set is UTF-8 for my website.
    I have checked in Testimonials Pro source files (in the plugin editor on WordPress’ admin board) and it also seems to be set to UTF-8 (unless there is another place where I would have to look)

    Plugin Author Dimitar A.


    Oraka please check I updated the plugin to replace the \ sign before ‘ or ” when you view the website. You can use str_replace for anywhere in the plugin, to fix this problem.

    Thank you for your answer.

    I have checked, uninstalled and reinstalled the latest version available here but as you can see on my link ( ) on the right side of the page, you can see a testimonial appearing (text is in french, but doesn’t matter).

    There are backslashes before single and double quote marks (‘ and “). I have tried to look on the web and found a possible solution here but this solution doesn’t work (copied the code in the function.php but still got the same result).

    Regarding the “str_replace” function, I don’t understand what you mean.
    If this topic has already been addressed somewhere else, can you forward me a link?

    Thank you in advance, Fred

    I am also having this issue. I just installed this plugin tonight, but have been unable to get the \ before a ‘ to go away. It’s like it’s trying to escape the ‘. Any luck fixing this issue?

    I managed to get this fixed.

    You will have to go to ‘edit plugins’ in the plugins section of WordPress , open the testimonials-pro plugin page.

    in the section where you see the following code :
    $TP_name = trim($TP_data->TP_name);
    $TP_desc = trim($TP_data->TP_desc);

    enter the following immediately after:

    $TP_desc = stripslashes($TP_desc);

    this will strip the slashes from the actual testimonial string.

    Thank you 4tuneinteractive, that worked just as expected! (Why I didn’t think of that I don’t know hahaha)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Testimonials Pro] Got random "\" appearing in my testimonials’ is closed to new replies.