Support » Plugin: Import and export users and customers » Email text full of backslash

  • Hi there and thank you for this useful plugin.

    I have an annoing problem that when I use an apostrophe the email get transformed with many backslash. Here you can see how it looks.

    I understand that this may be because you sanitize the text but there is a way to solve this little problem.

    The plugin works great but I would like to fix this for my users that will receive the email.

    Thank you again!

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

    (@carazo)

    @pr0v4,

    Good afternoon, I cannot see the image, anyway, yes the problem should be the one you tell me.

    Let me study it and see how can we sanitize it without creating this problem.

    Plugin Author Javier Carazo

    (@carazo)

    @pr0v4,

    In the “Email template” you can see this code:
    $body_mail = wp_kses_post( $form_data["body_mail"] );

    I have changed to:
    $body_mail = wp_kses_post( stripslashes( $form_data["body_mail"] ) );

    It should be enough. Test and tell me.

    If all goes OK please consider writing a good review or maybe send a little donation to help us to continue improving the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Email text full of backslash’ is closed to new replies.