mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Don't specify a background for the default RSS widget's icon. props lancewillet, fixes #13719.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2010aac02c
commit
1e732357a2
@ -737,7 +737,7 @@ class WP_Widget_RSS extends WP_Widget {
|
|||||||
$url = esc_url(strip_tags($url));
|
$url = esc_url(strip_tags($url));
|
||||||
$icon = includes_url('images/rss.png');
|
$icon = includes_url('images/rss.png');
|
||||||
if ( $title )
|
if ( $title )
|
||||||
$title = "<a class='rsswidget' href='$url' title='" . esc_attr(__('Syndicate this content')) ."'><img style='background:orange;color:white;border:none;' width='14' height='14' src='$icon' alt='RSS' /></a> <a class='rsswidget' href='$link' title='$desc'>$title</a>";
|
$title = "<a class='rsswidget' href='$url' title='" . esc_attr__( 'Syndicate this content' ) ."'><img style='border:0' width='14' height='14' src='$icon' alt='RSS' /></a> <a class='rsswidget' href='$link' title='$desc'>$title</a>";
|
||||||
|
|
||||||
echo $before_widget;
|
echo $before_widget;
|
||||||
if ( $title )
|
if ( $title )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user