Support

Account

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);