mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019
git-svn-id: https://develop.svn.wordpress.org/trunk@22439 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -778,7 +778,9 @@ class WP_Widget_RSS extends WP_Widget {
|
||||
|
||||
$title = apply_filters('widget_title', $title, $instance, $this->id_base);
|
||||
$url = esc_url(strip_tags($url));
|
||||
$icon = includes_url('images/rss.png');
|
||||
// Didn't want to have to add additional theme CSS for retina version of rss.png
|
||||
// Forcing 2x here looks fine on non-retina devices
|
||||
$icon = includes_url('images/rss-2x.png');
|
||||
if ( $title )
|
||||
$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>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user