mirror of
https://github.com/WordPress/WordPress.git
synced 2024-06-23 13:24:57 +02:00
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. Built from https://develop.svn.wordpress.org/branches/4.4@36067 git-svn-id: http://core.svn.wordpress.org/branches/4.4@36032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3941a5ffa7
commit
35c2b1dee2
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4.1-alpha-36066';
|
||||
$wp_version = '4.4.1-alpha-36067';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
@ -76,7 +76,7 @@ class WP_Widget_RSS extends WP_Widget {
|
|||
$url = strip_tags( $url );
|
||||
$icon = includes_url( 'images/rss.png' );
|
||||
if ( $title )
|
||||
$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>';
|
||||
$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>';
|
||||
|
||||
echo $args['before_widget'];
|
||||
if ( $title ) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user