• WIth previous versions of WP I was able to use the following code to modify the sanitization of HTML in the user’s bio text in order to allow some simple HTML tags (p,br,strong,em,a etc) but this does not work after upgrading to ver. 3.8

    remove_filter('pre_user_description', 'wp_filter_kses');
    add_filter( 'pre_user_description', 'wp_filter_post_kses' );

    I looked through user.php just to see if the core changed but it doesn’t look like it did, so I don’t know why the above doesn’t work.

    Any suggestions for how I can allow basic HTML without resorting to another plugin?

Viewing 1 replies (of 1 total)
  • Thread Starter TrishaM

    (@trisham)

    Hmmm….nevermind…..it actually IS working…….I am using a stylesheet with the HTML5 Reset styles and neglected to set a style for the (reset) strong tag….my bad…

Viewing 1 replies (of 1 total)
  • The topic ‘Allowing HTML in user description broken in 3.8?’ is closed to new replies.