jchristopher/attachments — pull request #7 by mitchell360 (2012-12-12 17:22:41+00:00)
Title: If post_id is passed to get_attachments() ... use it!

Added a check to see if post_id was passed into the function. If so, use it. If not, then try to figure out the post_id.