scribu/wp-posts-to-posts — pull request #293 by markoheijnen (2013-01-06 17:35:01+00:00)
Title: Check if attachment is an image before showing the thumbnail

When you now retrieve the title of an attachment it always trying to show a thumbnail. This only works for images and not for the rest. It now uses wp_get_attachment_image() to check if it's an image.