ACF 5.10.0 added wp_kses
which is stopping images from loading inside select fields. I used to be able to use the “Stylized UI” Select field with values like this:
announcement : <img src="https://web.com/announcement.img">
arrow : <img src="https://web.com/arrow.img">
But it echos out <
instead of <
and >
instead of >
around the image tag, which keeps it from rendering.
I’ve tried updating the wp_kses_allowed_html
filter but nothing seems to make a difference.
Hey, thanks for the report!
We’re intended to release a patch next week that will allow safe HTML like this inside a select2 field.