Free Directory, Listing & Classifieds WordPress Plugin › Support › General › HivePress › Issue with $field->display()
Issue with $field->display()
- LzoMedia1 month, 1 week ago
I have an issue with $field->display() from
When I submit HTML in a html attribute for example image in base64 format it drops the data from the image uri
ex of input in the backend
<img src="image/png;charset=utf-8;base64,the_base_64_string" />
and on the frontend I get :
<img src="image/png;charset=utf-8;base64,the_base_64_string" />ihor1 month, 1 week agodeveloper
I guess it’s a WordPress security limitation, any input if filtered with this function https://developer.wordpress.org/reference/functions/wp_kses_post/ Please consider setting image URL instead of base64 string.
You must be logged in to reply to this topic.