esc_html && stripslashes
-
Hello,
It seems you forgot to add stripslashes() after esc_html() of the title in the consent page (includes/Page.php Line 433)In french with use a lot of “‘” so every times I save my title with “‘”, it add some slash in front, and if I save again, il will put more slash.
For exemple:
“j’accepte l’utilisation des cookies afin d’améliorer mon expérience.”:
Save 1: “j\’accepte l\’utilisation des cookies afin d\’améliorer mon expérience.”
save 2: “j\\’accepte l\\’utilisation des cookies afin d\\’améliorer mon expérience.”You’ve used stripslashes() with the others inputs, why not this one?
Have a good day!
Nicolas B
The topic ‘esc_html && stripslashes’ is closed to new replies.