Support

Account

Home Forums Backend Issues (wp-admin) wp_kses breaks select images Reply To: wp_kses breaks select images

  • Due to the way select2 works, we’ve had to disable html in select2 results by default, restoring the default select2 behaviour.

    Instead, you need to manually override the escaping function using a JS filter for a specific field type, key or name.

    You can find more information on this here: https://www.advancedcustomfields.com/resources/javascript-api/#filters-select2_escape_markup