Make WordPress Core

Changeset 35978


Ignore:
Timestamp:
12/16/2015 10:34:55 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Widgets: Remove extra quotes from widget title in WP_Widget_RSS, accidentally added in [33814].

Props ShinichiN.
Fixes #34978 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-rss.php

    r34683 r35978  
    7777        $icon = includes_url( 'images/rss.png' );
    7878        if ( $title )
    79             $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>';
     79            $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>';
    8080
    8181        echo $args['before_widget'];
Note: See TracChangeset for help on using the changeset viewer.