Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #348048

    hi<
    In the Edit User page I added a hyperlink tag(s).

    It worked, there is a hyperlink on the author’s page:
    http://microbrewr.com/author/tiffany-adamowski/

    I wanted the link o on in a new page, so I added target=”_blank”
    Every time I click “Update User” in the Edit User page, it just gets rid of the target=”_blank”

    Please help.
    Thanks.

    • This topic was modified 10 years, 1 month ago by microbrewr.
    #348402

    Hey Nathan!

    This is a normal security feature of WordPress. If you want to disable it, use this code in theme’s functions.php:

    //disable WordPress sanitization to allow more than just $allowedtags from /wp-includes/kses.php
    remove_filter('pre_user_description', 'wp_filter_kses');
    //add sanitization for WordPress posts
    add_filter( 'pre_user_description', 'wp_filter_post_kses');
    

    Regards,
    Andy

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.