Support » Fixing WordPress » How to remove magic quotes?

  • WPChina


    For some reason in the subjects (Ititles) of my blogs, all the apostrophes and quotation marks are turning into magic quotes. I have tried all different ways of copying/pasting normal quotes into the field, but after I publish they turn into magic quotes. In fact, the original quotes I paste in are not even magic quotes, but somehow they turn into it… any idea what I’m doing wrong?

    And, btw, who in the world invested magic quotes and why did they do it? I have Googled this issue and not many poeple have sound advice or solutions on how to fix it in WP, so I hope someone here has an answer. (I suspect the magic quotes are a MSFT invention, no?)

Viewing 4 replies - 1 through 4 (of 4 total)
  • There is an issue with that was discussed before, a simple work around is to use HTML entity code instead of putting the actual quotes in your subject ..

    For using the double quote use this: " -> “
    Single quotes are given by: & #39; [No space between ‘&’ and ‘#’] -> ‘

    Hope that helps …

    This is a result of the wptexturize() function. Remove it from your default filters file in /wp-includes/ or get one of the plugins out there that’ll remove the filter. Search, you’ll find them.



    Hmmm, actually I am using the plugin here:

    But maybe I am not using it correctly… it seems like all the settings I use for it still make it come out magic_quotes. Any idea what set of features on the plugin I should utilize to ensure it works well?


    i m arun can may i perform magic trick on urs stage.

    plz help me
    thank you

    arun sharma

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove magic quotes?’ is closed to new replies.