• Every time I save, NextGEN Enhancer escapes the backslashes, so first there is one, then there’s two, then four, then eight… You see where this is going… I tried to fix this myself, but I’m a perl guy, so can’t manage it. I saw your note: “Do we need an array_walk ($res, ‘htmlspecialchars’) or something like this here?” I’d say you need some more “stripslashes”. 😉

    I managed the following, which fixed the description field (hidden), but can’t seem to find where to use stripslashes on the caption field…

    jsmoriss@stingray:/export/www/trtms/content/plugins/nextgen-enhancer$ diff nextgen-enhancer.php-20120706 nextgen-enhancer.php
    727a728
    >
    1406,1407c1407
    <                                       $desc = stripslashes(str_replace ($key, $value, $desc));
    <                               }
    ---
    >                                       $desc = str_replace ($key, $value, stripslashes($desc))

    Thanks,

    js.

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

  • The topic ‘[Plugin: NextGEN Enhancer] Backslash hell in captions!’ is closed to new replies.