Make WordPress Core

Changeset 34683


Ignore:
Timestamp:
09/29/2015 04:31:10 AM (10 years ago)
Author:
wonderboymusic
Message:

RSS Widget: add a class, rss-widget-icon, to the RSS icon to allow devs to hide it. Not going to remove to not break visual BC.

Fixes #22010.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-rss.php

    r34612 r34683  
    7777        $icon = includes_url( 'images/rss.png' );
    7878        if ( $title )
    79             $title = '<a class="rsswidget" href="' . esc_url( $url ) . '"><img 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>';
     79            $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>';
    8080
    8181        echo $args['before_widget'];
Note: See TracChangeset for help on using the changeset viewer.