Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: BP adds p-tag to profile name whenever the profile gets edited. Why?

@panicky

Participant

It is this filter that causes the paragraph tag to force itself into the profilename:

add_filter( 'xprofile_get_field_data', 'wpautop' ); located in the bp-xprofile directory.

When I remove it everything is normal, but if I do them the bio-field that I have in members-header won’t have any line breaks at all.

What can I do to compromise? Is there another filtervalue I can use?

I’, sorry if this a bit jumbled up, but I’m sick as a dog this week…

Skip to toolbar