Hello,
I am working on the “custom profile fields” and I found a odd behaveur on the “text” fields.
1) Editing: the text displayed on the edit profile is html encoeded, i.e. on the textarea I have the <p>…</p> tags
2) Display: if I dont specify the userid on the sp_CustomProfileFieldsDisplay (i.e. the custom field is always “my own ” data) the text displayed is correctly transformed to html (i.e. “n” -> “<br/>”), if I specify the userId the text comes from without the html “translation”
I have tried to fix it myself, but I guess it is better if you look at it and fix in your code.
Here’s the couple of thing sthat I came up with:
sp-custom-profile-fields-components.php line 95:
esc_html($text) should become sp_filter_text_edit($text)
sp-custom-profile-fileds-display-tag.php: I didn’t find the “correct” way to pick up the html-ed field;
Thank you