Support » Fixing WordPress » Author profile pages not saving html in “about user”
10 years, 10 months ago
WordPress is stipping out all the html from the About user box. I’m using 2.0.3 I fixed the problem in 2.0.2 with this: http://trac.wordpress.org/attachment/ticket/2272/2272.diff
Now, even with that, the form does not save the html. Any help is greatly appreciated.
This fixed worked in 2.0.2, but its not working in 2.0.3. Can anyone please help with this?
10 years, 9 months ago
It’s probably a security “feature” to prevent undesireable code being inserted?
10 years, 6 months ago
use html_entity_decode() on line 16 to decode the html entities
line 16 should look like:
on second thought it would be better to do that in your theme files like this…
<?php echo html_entity_decode(get_the_author_description()); ?>
10 years, 5 months ago
Would that be in functions.php?