Make WordPress Core

Changeset 36067


Ignore:
Timestamp:
12/23/2015 01:59:22 AM (9 years ago)
Author:
dd32
Message:

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

Merges [35978] to the 4.4 branch.
Props ShinichiN.
Fixes #34978.

Location:
branches/4.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.4

  • branches/4.4/src/wp-includes/widgets/class-wp-widget-rss.php

    r34683 r36067  
    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.