Home › Forums › General Issues › Text custom field that contain text like control symbols › Reply To: Text custom field that contain text like control symbols
First. Thanks for help with instructions!
Second. Yes, I was thinking about something like that. For minimizing surprises in future it’s better way:
add_filter('acf/update_value/name=titles', 'wp_slash', 1);
But it’s a typical crutch (not sure is it good English word).
Thirdly. Can you tell me clear why ACF do unshielded my strings at that place? Looks like ACF do the “bad” action there. And why put a comment with a link (I think there is the problem description, but now it’s broken). I want to understand why we need this string in ACF-code:
$value = stripslashes_deep($value);
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.