wp/wp-includes/kses.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
--- a/wp/wp-includes/kses.php	Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/kses.php	Fri Sep 05 18:52:52 2025 +0200
@@ -895,9 +895,11 @@
 			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 );
 
@@ -2526,6 +2528,7 @@
 			'list-style-type',
 			'object-fit',
 			'object-position',
+			'opacity',
 			'overflow',
 			'vertical-align',
 			'writing-mode',