Home › Forums › Bug Reports › Field saving does not respect unfiltered_html capability › Reply To: Field saving does not respect unfiltered_html capability
To your first question, yes, you could do that.
to the second post
1) You mentioned “super admin”. It is impossible now, due to a change in WP to give anyone other than super admins “unfiltered_html”. Or at least nearly impossible. You can give them the permission, but it will be ineffective on the main content area for the site. I’m not sure if I figured out a work around for this the last time I ran into it or not. ACF seems to be working around this for acf fields.
2) It would be no heavier to run wp_kses() on each field than it would to run it on all fields at once, I don’t think.
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.