Skip to content
Snippets Groups Projects
Commit 5e590b9e authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #520734 by Everett Zufelt, webernet | Dries, mgifford:...

- Patch #520734 by Everett Zufelt, webernet | Dries, mgifford: theme_feed_icon() could use more meaningful alt text.
parent 4d95e3d2
No related branches found
No related tags found
No related merge requests found
......@@ -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 '<a href="' . check_url($url) . '" class="feed-icon">' . $image . '</a>';
$text = t('Subscribe to @feed-title', array('@feed-title' => $title));
if ($image = theme('image', 'misc/feed.png', $text)) {
return '<a href="' . check_url($url) . '" title="' . $text . '" class="feed-icon">' . $image . '</a>';
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment