WordPress.org

Ready to get started?Download WordPress

Forums

WP Customer Reviews
Slash Before Each Apostraphe (8 posts)

  1. maxminzer
    Member
    Posted 2 years ago #

    Hi,

    First of all - this plugin is incredible! Clean, simple, and powerful.

    I have a little bug. Not sure if anyone else experiences that.
    Each time there's an apostrophe (') in my text reviews - back slash is added.
    I use the plugin here: http://www.maxminzer.com/testimonials

    I understand that it has to do something with PHP and coding format but is there a fix for that?
    Also, is this a plugin issue or my WordPress UTF-8 or whatever code format issue?

    Thank you!

    Max

    http://wordpress.org/extend/plugins/wp-customer-reviews/

  2. maxminzer
    Member
    Posted 2 years ago #

    Any updates?

  3. Iamhere
    Member
    Posted 2 years ago #

    Yes I can see this too.

    Need to add stripslashes into the code, but some assistance from the author would be useful :-)

  4. maxminzer
    Member
    Posted 2 years ago #

    Yeah, I searched all over the place but don't know what PHP codes to add or fix.

  5. maxminzer
    Member
    Posted 2 years ago #

    I'm about to give up and not worry about it but...

    Any ideas? Anything I can do to get rid of forward slashes?

  6. maxminzer
    Member
    Posted 2 years ago #

    Ok, here is my temporary (or permanent) solution:

    I replaced all ' with ’ (It's a different character, I guess)
    and replaced all " with ”

    One of the people left me a testimony 2 days ago, used these symbols and that didn't generate backslashes.
    Changed it for all other occurrences manually.

    Also found this (if it's helpful for anyone; it wasn't for me):
    http://php.net/manual/en/function.addslashes.php

  7. drunkfox
    Member
    Posted 2 years ago #

    Hi maxminzer. Hi apologize for my English, I know it's not the best...
    I had your same issue. I solved it replacing the apostrophe with ’ (HTML code).
    Bye

  8. dotdynamic
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic