From 5349202123d248fd9306c246f27abf56681580d8 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 19 Dec 2005 19:08:30 +0000 Subject: [PATCH] Attachment template fix. fixes #2098 git-svn-id: https://develop.svn.wordpress.org/trunk@3328 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 559a8e4bdb..b8f334789a 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 »

'); ?>