From 5ab9ee6a8f0d8faabb3be3d30e5beb4ad51fcf4b Mon Sep 17 00:00:00 2001 From: markjaquith Date: Sun, 30 Mar 2008 16:41:43 +0000 Subject: [PATCH] Gallery XHTML validation fixes. props shelleyp. fixes #6461 for trunk git-svn-id: http://svn.automattic.com/wordpress/trunk@7575 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index b81fcfa26..63a6504ae 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -324,7 +324,7 @@ function wp_get_attachment_image($attachment_id, $size='thumbnail', $icon = fals $hwstring = image_hwstring($width, $height); if ( is_array($size) ) $size = join('x', $size); - $html = ''; + $html = ''; } return $html; @@ -409,7 +409,7 @@ function gallery_shortcode($attr) { } $output .= " -
+
\n"; return $output;