diff --git a/wp-includes/kses.php b/wp-includes/kses.php index cd30d845f8..ebb4a761b1 100644 --- a/wp-includes/kses.php +++ b/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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 5fd46c131d..3167bb62ed 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59676'; +$wp_version = '6.8-alpha-59677'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.