From dbbd5efeb2034dc6b9d294acf08c37b043db16a1 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 19 Dec 2005 19:08:30 +0000 Subject: [PATCH] Attachment template fix. fixes #2098 git-svn-id: http://svn.automattic.com/wordpress/trunk@3328 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/default/attachment.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/default/attachment.php b/wp-content/themes/default/attachment.php index 559a8e4bd..b8f334789 100644 --- a/wp-content/themes/default/attachment.php +++ b/wp-content/themes/default/attachment.php @@ -8,10 +8,12 @@
 
 
+ID, true, array(450, 800)); // This also populates the iconsize for the next line ?> +ID); $classname = ($_post->iconsize[0] <= 128 ? 'small' : '') . 'attachment'; // This lets us style narrow icons specially ?>

post_parent); ?> »

- +


guid); ?>

Read the rest of this entry »

'); ?>