How do you handle postmeta in admin area?
Actually is not true that on post-new.php global $post is not defined, WordPress create a post and save it in database as auto-draft using get_default_post_to_edit before output the page and so the metabox, so you can rely on global post object. However, I don’t like using global post object and to get the brand-new post … Read more