Yeah, that would definitely allow us to bypass the check and keep up to date 👍
Honestly I had not really looked at the implementation when I suggested this, and was thinking this was being run later – per value rather than on the entire $_POST['acf']
.
I suppose for our use case we would then want to add our own conditional KSES implementation later in the save_post process, like in acf/pre_update_value
.
(Just droppin these notes in case someone else is in the same situation someday)
Thanks!
@elliot Sound update for most all use cases – but, would you consider adding a filter on this so we can choose fields to bypass kses? or is there some other way currently?
Use Case: We use a text area field on the page editor for “custom scripts”, which only outputs to logged out users. For now, we have rolled back this release until we come up with a work around.
Thanks!