trying to modify/allow html in profile “description”
-
I’m trying to figure out where/at what point WP strips out html tags from the “description” inside a users profile. The only references I have found are:
do_action(‘personal_options_update’);
which I have not been able to find any forum posts on, and the codex only shows it as a hook, which doesn’t tell me anything.
The other place was:
$user->description = wp_specialchars($user->description);
Which I understand that wp_specialchars changes the quotes and changes < > to < and > respectively, but I don’t see it stripping tags like <p> and <h2>, <h3>, <h4>. I would like the author to be able to include some styling of their information block, but can’t seem to get WP to save the tags.
Thanks for any guidance on where WP might be stripping the tags out.
The topic ‘trying to modify/allow html in profile “description”’ is closed to new replies.