From 5e590b9e4e9878a9c4e5c5d14011e3e160697949 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 11 Sep 2009 15:17:00 +0000 Subject: - Patch #520734 by Everett Zufelt, webernet | Dries, mgifford: theme_feed_icon() could use more meaningful alt text. --- includes/theme.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index c908088ff..abb0fd757 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1840,10 +1840,11 @@ function theme_more_help_link($url) { * The url of the feed. * @param $title * A descriptive title of the feed. - */ + */ function theme_feed_icon($url, $title) { - if ($image = theme('image', 'misc/feed.png', t('Subscribe to %feed-title', array('%feed-title' => $title)))) { - return '' . $image . ''; + $text = t('Subscribe to @feed-title', array('@feed-title' => $title)); + if ($image = theme('image', 'misc/feed.png', $text)) { + return '' . $image . ''; } } -- cgit v1.2.3