Make WordPress Core


Ignore:
Timestamp:
11/07/2012 08:54:08 PM (13 years ago)
Author:
azaozz
Message:

More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-widgets.php

    r22430 r22439  
    779779        $title = apply_filters('widget_title', $title, $instance, $this->id_base);
    780780        $url = esc_url(strip_tags($url));
    781         $icon = includes_url('images/rss.png');
     781        // Didn't want to have to add additional theme CSS for retina version of rss.png
     782        // Forcing 2x here looks fine on non-retina devices
     783        $icon = includes_url('images/rss-2x.png');
    782784        if ( $title )
    783785            $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>";
Note: See TracChangeset for help on using the changeset viewer.