Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Matt Shaw

    (@mattshaw)

    Hi,

    It looks like WordPress is forcing Magic Quotes, which caused your issue, currently working on a fix and will have that out shortly.

    Plugin Contributor Matt Shaw

    (@mattshaw)

    Hi,

    This has been fixed in development, you can download the hotfix here.

    This will allow you to search/replace single quotes and backslashes without WordPress escaping them. (You should be able to use this version to replace “\'” with “‘”.

    I’m marking this as resolved, and will release this along with a few other updates into the main repository on Monday.

    Let me know if you run into any further issues. Thanks!

    Thread Starter Raouf Shabayek

    (@wajeez)

    Hi,

    I tried the “\s” and it didn’t work. Simply it finds 0 match. I’m left with hundreds of \s incidents in my posts ??

    Hope your update can search for \s and replace it with ‘s

    Cheers,

    Plugin Contributor Matt Shaw

    (@mattshaw)

    That’s strange, was it not working in the hotfix version?
    https://github.com/ExpandedFronts/Better-Search-Replace/archive/hotfix/stripslashes.zip

    I just tested that on multiple systems and it’s working for me.

    Plugin Contributor Matt Shaw

    (@mattshaw)

    Hi,

    Just following up on this to let you know I released the updates to the main repository.

    Please update to v1.2.4 and let me know if that fixes the issue. Thanks!

    Thread Starter Raouf Shabayek

    (@wajeez)

    YES! Now it works perfectly. Thanks a million for the fast action. Keep it up.

    I’m having what I think is the same issue – I’ve installed the fix but still having the problem. I’m trying to search out a possessive word and replace it with a possessive word. For example: search for Matt’s and replace it with John’s. When I run the search, in the find box it will say Matt/’s and in the replace box it will say John/’s

    Plugin Contributor Matt Shaw

    (@mattshaw)

    @tolen I’m not able to replicate this- can you please shoot me an email to [email protected] with the search/replace strings and the debug info from the “Help” tab?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Replace ' with \'’ is closed to new replies.