diff --git a/src/wp-includes/kses.php b/src/wp-includes/kses.php index 0ef5803ebc7b4..1da4edcaefc1b 100644 --- a/src/wp-includes/kses.php +++ b/src/wp-includes/kses.php @@ -895,9 +895,11 @@ function wp_kses_allowed_html( $context = '' ) { return $tags; case 'user_description': + case 'pre_term_description': case 'pre_user_description': - $tags = $allowedtags; - $tags['a']['rel'] = true; + $tags = $allowedtags; + $tags['a']['rel'] = true; + $tags['a']['target'] = true; /** This filter is documented in wp-includes/kses.php */ return apply_filters( 'wp_kses_allowed_html', $tags, $context );