WordPress.org

Support

Support » Plugins and Hacks » NextGEN Gallery - WordPress Gallery Plugin » [Plugin: NextGEN Gallery] Quotes in Description are escaped \" – Unwanted!

[Plugin: NextGEN Gallery] Quotes in Description are escaped \" – Unwanted!

  • Hi there

    I’m using the nextgen gallery to upload images to my side and add some description (copyright info) below the picture.

    Unfortunately, If I’m enterin quotes in the description area the quotes (single- and double-) are escaped before writing the description in my mysql database.

    as a consequence I have nasty escape characters in my copyright information.
    How can I get rid of those escape-things?

    (I tried to turn of magic quotes on my webhosts php.ini, but somehow this didn’t have any effect.)

    Any idea?

    I would really be glad to hear so.

    Thx & cheers

    http://wordpress.org/extend/plugins/nextgen-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I now just added the php-code:

    stripslashes($mydescriptionstring)

    worked allright, but probably isn’t the best solution….

    ciao

    Into which php file did you add the stripslashes function? What I have found is that if you use " it’s fine until you edit the gallery again, then it reverts to \”. If you use " it’s fine until you edit the gallery then it becomes a space.

    Thanks.

    Wow, it strips it out here too!

    What I have found is that if you use &-#34-; it’s fine until you edit the gallery again, then it reverts to \”. If you use &-quot-; it’s fine until you edit the gallery then it turns into a space.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: NextGEN Gallery] Quotes in Description are escaped \" – Unwanted!’ is closed to new replies.
Skip to toolbar