Index: /Users/simon/Projects/StephenFry/site/wordpress/wp-includes/post.php
===================================================================
--- /Users/simon/Projects/StephenFry/site/wordpress/wp-includes/post.php	(revision 11743)
+++ /Users/simon/Projects/StephenFry/site/wordpress/wp-includes/post.php	(working copy)
@@ -2721,7 +2721,7 @@
 
 	$file = get_attached_file( $post->ID );
 
-	if ( !empty($imagedata['thumb']) && ($thumbfile = str_replace(basename($file), $imagedata['thumb'], $file)) && file_exists($thumbfile) )
+	if ( !empty($imagedata['sizes']['thumbnail']['file']) && ($thumbfile = str_replace(basename($file), $imagedata['sizes']['thumbnail']['file'], $file)) && file_exists($thumbfile) )
 		return apply_filters( 'wp_get_attachment_thumb_file', $thumbfile, $post->ID );
 	return false;
 }
