How to prevent escaping when saving HTML code in an option value?

stripslashes(wp_filter_post_kses(addslashes($_POST['sidebar_code'])));

but you should know that the kses filter is not 100% safe.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)