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?
- The topic ‘Allowing HTML in user description broken in 3.8?’ is closed to new replies.