The e-mail logo in the order confirmation message, should have alt and title added.
Pushed to Gerrit.
- $replacements[$original] = theme('image', array('path' => theme_get_setting('logo'))); + $replacements[$original] = theme('image', array('path' => theme_get_setting('logo'), 'item' => array('alt' => variable_get('site_name'), 'title' => variable_get('site_name'))));
Aren't alt and title supposed to be on the same level as path? The item subarray would not be used? http://api.drupal.org/api/drupal/includes!theme.inc/function/theme_image/7
Hm. I wonder what docs I was reading :/ Did a new push.
Merged, thanks.
Automatically closed -- issue fixed for 2 weeks with no activity.
Comments
Comment #1
lsolesen commentedPushed to Gerrit.
Comment #2
bojanz commentedAren't alt and title supposed to be on the same level as path? The item subarray would not be used?
http://api.drupal.org/api/drupal/includes!theme.inc/function/theme_image/7
Comment #3
lsolesen commentedHm. I wonder what docs I was reading :/ Did a new push.
Comment #4
jsacksick commentedMerged, thanks.