Home › Forums › Bug Reports › Regression: Backslashes stripped in WYSIWYG › Reply To: Regression: Backslashes stripped in WYSIWYG
Hi Elliot,
Unfortunately your suggested solution (hook into update_value before core update_value) CANNOT WORK.
Core acf/update_value is action, not filter, So, I may hook but cannot change anything.
_function.php line 26:
add_action(‘acf/update_value’, array($this, ‘update_value’), 5, 3);
You call acf/update_value as filter but later, from inside core acf/update value, AFTER stripslashes_deep.
So there is completely no way to fix this issue without editing your code.
Marek.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.