WordPress.org

Make WordPress Core

Ticket #47670: 47670.diff

File 47670.diff, 966 bytes (added by mukesh27, 2 years ago)

Patch.

  • wp-includes/widgets/class-wp-widget-rss.php

    diff --git a/wp-includes/widgets/class-wp-widget-rss.php b/wp-includes/widgets/class-wp-widget-rss.php
    index 570e7bba43..20c166b3c0 100644
    a b class WP_Widget_RSS extends WP_Widget { 
    8787                $url  = strip_tags( $url );
    8888                $icon = includes_url( 'images/rss.png' );
    8989                if ( $title ) {
    90                         $title = '<a class="rsswidget" href="' . esc_url( $url ) . '"><img class="rss-widget-icon" style="border:0" width="14" height="14" src="' . esc_url( $icon ) . '" alt="RSS" /></a> <a class="rsswidget" href="' . esc_url( $link ) . '">' . esc_html( $title ) . '</a>';
     90                        $title = '<a class="rsswidget" href="' . esc_url( $url ) . '"><img class="rss-widget-icon" style="border:0" width="14" height="14" src="' . esc_url( $icon ) . '" alt="" /></a> <a class="rsswidget" href="' . esc_url( $link ) . '">' . esc_html( $title ) . '</a>';
    9191                }
    9292
    9393                echo $args['before_widget'];