From d7336d148939a51147519e74972cbba4140a47da Mon Sep 17 00:00:00 2001 From: Christian Ghellere Date: Wed, 3 Jun 2015 19:30:28 +0200 Subject: [PATCH] Update impostazioni-pasw2015-saver.php sostituita api htmlentities con esc_html su due variabili eucookies --- include/impostazioni-pasw2015-saver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/impostazioni-pasw2015-saver.php b/include/impostazioni-pasw2015-saver.php index b5cf8a7..93a24a0 100644 --- a/include/impostazioni-pasw2015-saver.php +++ b/include/impostazioni-pasw2015-saver.php @@ -23,8 +23,8 @@ update_option( 'pasw_eucookie_button', $_POST["pasw_eucookie_button_n"] ); update_option( 'pasw_eucookie_info', $_POST["pasw_eucookie_info_n"] ); update_option( 'pasw_eucookie_page', $_POST["pasw_eucookie_page_n"] ); - update_option( 'pasw_eucookie_msg', htmlentities(stripslashes($_POST["pasw_eucookie_msg_n"])) ); - update_option( 'pasw_eucookie_box_msg', htmlentities(stripslashes($_POST["pasw_eucookie_box_msg_n"])) ); + update_option( 'pasw_eucookie_msg', esc_html(stripslashes($_POST["pasw_eucookie_msg_n"])) ); + update_option( 'pasw_eucookie_box_msg', esc_html(stripslashes($_POST["pasw_eucookie_box_msg_n"])) ); } if ($_POST["pasw_ga_password_n"] != '#OK#') {