From 5f98fb812bce1fcdf9b14bda17ce70fe0e0a3cc4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 30 Apr 2010 12:53:47 +0000 Subject: - Patch #555830 by sun, effulgentsia, mgifford, TheRec, aspilicious: clean up theme_image() to use drupal_attributes() for all attributes and revisit defaults for 'alt' and 'title'. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index f67839cdb..95f083b0e 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -5390,7 +5390,7 @@ function drupal_common_theme() { 'variables' => array('links' => NULL, 'attributes' => array('class' => array('links')), 'heading' => array()), ), 'image' => array( - 'variables' => array('path' => NULL, 'alt' => '', 'title' => '', 'attributes' => array(), 'getsize' => TRUE), + 'variables' => array('path' => NULL, 'alt' => '', 'title' => NULL, 'attributes' => array(), 'getsize' => TRUE), ), 'breadcrumb' => array( 'variables' => array('breadcrumb' => NULL), -- cgit v1.2.3