Final HiDPI tweaks. Don't use rss-2x.png on a front-end widget. Improve selectors for favicons in the toolbar to avoid breaking existing images. Remove unnecessary RTL styles. FIXES #21019.

git-svn-id: https://develop.svn.wordpress.org/trunk@22481 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-11-09 02:06:59 +00:00
parent b9a5374e64
commit 21f4690f30
5 changed files with 10 additions and 21 deletions
+1 -3
View File
@@ -778,9 +778,7 @@ class WP_Widget_RSS extends WP_Widget {
$title = apply_filters('widget_title', $title, $instance, $this->id_base);
$url = esc_url(strip_tags($url));
// 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');
$icon = includes_url('images/rss.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>";