wp/wp-includes/widgets/class-wp-widget-custom-html.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
--- a/wp/wp-includes/widgets/class-wp-widget-custom-html.php	Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/widgets/class-wp-widget-custom-html.php	Fri Sep 05 18:52:52 2025 +0200
@@ -149,9 +149,6 @@
 		/** This filter is documented in wp-includes/widgets/class-wp-widget-text.php */
 		$content = apply_filters( 'widget_text', $instance['content'], $simulated_text_widget_instance, $this );
 
-		// Adds 'noopener' relationship, without duplicating values, to all HTML A elements that have a target.
-		$content = wp_targeted_link_rel( $content );
-
 		/**
 		 * Filters the content of the Custom HTML widget.
 		 *