320press/wordpress-bootstrap — pull request #61 by sinned (2012-08-07 21:29:56+00:00)
Title: fixed add_homepage_meta_box() 

I originally noticed that there was a notice coming from line 277 whenever you were adding a new post:
'''
$post_id = $_GET['post'] ? $_GET['post'] : $_POST['post_ID'];
'''
So, I fixed it with a ternary, but then I noticed that the function wasn't working at all, so I added in the call to the global $post variable and now it seems to work.

I left that original line (with my ternary way) in, commented out, in case you guys want it, but it didn't seem like the function had access to the right request variables in the function.

And now, when you select the homepage template, it shows the homepage_meta_box