wp/wp-includes/widgets/class-wp-widget-custom-html.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
   146 		);
   146 		);
   147 		unset( $simulated_text_widget_instance['content'] ); // Was moved to 'text' prop.
   147 		unset( $simulated_text_widget_instance['content'] ); // Was moved to 'text' prop.
   148 
   148 
   149 		/** This filter is documented in wp-includes/widgets/class-wp-widget-text.php */
   149 		/** This filter is documented in wp-includes/widgets/class-wp-widget-text.php */
   150 		$content = apply_filters( 'widget_text', $instance['content'], $simulated_text_widget_instance, $this );
   150 		$content = apply_filters( 'widget_text', $instance['content'], $simulated_text_widget_instance, $this );
   151 
       
   152 		// Adds 'noopener' relationship, without duplicating values, to all HTML A elements that have a target.
       
   153 		$content = wp_targeted_link_rel( $content );
       
   154 
   151 
   155 		/**
   152 		/**
   156 		 * Filters the content of the Custom HTML widget.
   153 		 * Filters the content of the Custom HTML widget.
   157 		 *
   154 		 *
   158 		 * @since 4.8.1
   155 		 * @since 4.8.1