Make WordPress Core

Ticket #47244: 47244.diff

File 47244.diff, 780 bytes (added by audrasjb, 5 years ago)
  • src/wp-includes/widgets/class-wp-widget-custom-html.php

    diff --git a/src/wp-includes/widgets/class-wp-widget-custom-html.php b/src/wp-includes/widgets/class-wp-widget-custom-html.php
    index 93fb579..5d2b28a 100644
    a b class WP_Widget_Custom_HTML extends WP_Widget { 
    143143                /** This filter is documented in wp-includes/widgets/class-wp-widget-text.php */
    144144                $content = apply_filters( 'widget_text', $instance['content'], $simulated_text_widget_instance, $this );
    145145
    146                 // Adds noreferrer and noopener relationships, without duplicating values, to all HTML A elements that have a target.
    147                 $content = wp_targeted_link_rel( $content );
    148 
    149146                /**
    150147                 * Filters the content of the Custom HTML widget.
    151148                 *