Support » Plugin: SS Quiz » [Plugin: SS Quiz] Apostrophe escaped with a slash makes wrong answer

  • Resolved olenadmy

    (@olenadmy)


    Not sure if i’m doing something wrong, but here are the results i get

    Правильный ответ: my sister’s boyfriend
    Ваш ответ: my sister\’s boyfriend

    apostrophe is with forward slash in multiple question.
    how to avoid it?

    http://wordpress.org/extend/plugins/ssquiz/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ssvadim

    (@ssvadim)

    I can’t find time to fix this bug.
    It is being solved by changing the line #350 client-side.php:
    from
    $temp2=explode(“|”, $_POST[“answer”]);
    to
    $temp2=explode(“|”, esc_attr(stripslashes($_POST[“answer”])));
    if you using one-by-one mode of quiz.

    olenadmy

    (@olenadmy)

    spasibo!

    [ mod note: I believe that is Russian for ‘thank you’ ]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: SS Quiz] Apostrophe escaped with a slash makes wrong answer’ is closed to new replies.