humanmade/Custom-Meta-Boxes — pull request #241 by mattheu (2014-08-18 10:00:15+00:00)
Title: Pass Post to enqueue media

Fixes https://github.com/humanmade/Custom-Meta-Boxes/issues/202

wp_enqueue_media requires the current post ID to be passed. As we're firing this before WordPress did, and didn't pass the Post ID, this was not getting set correctly.