WordPress.org

Ready to get started?Download WordPress

Forums

Author profile pages not saving html in "about user" (8 posts)

  1. uno
    Member
    Posted 8 years 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.

  2. uno
    Member
    Posted 8 years ago #

    bump

  3. uno
    Member
    Posted 8 years ago #

    This fixed worked in 2.0.2, but its not working in 2.0.3. Can anyone please help with this?

  4. uno
    Member
    Posted 8 years ago #

    Nother bump

  5. _ck_
    Member
    Posted 8 years ago #

    It's probably a security "feature" to prevent undesireable code being inserted?

  6. arthurcoulston
    Member
    Posted 7 years ago #

    in /includes/template-functions-author.php

    use html_entity_decode() on line 16 to decode the html entities

    line 16 should look like:

    return html_entity_decode($authordata->description);

  7. arthurcoulston
    Member
    Posted 7 years ago #

    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()); ?>

  8. drsuccess
    Member
    Posted 7 years ago #

    Would that be in functions.php?

Topic Closed

This topic has been closed to new replies.

About this Topic