When detecting the current menu item, take into account the fact that WordPress defaults to the "post" post type for edit.php and post-new.php if the "post_type" parameter is not set. The menu highlight script already did that, but the  get_current_menu_item() function previously did not.

git-svn-id: https://plugins.svn.wordpress.org/admin-menu-editor/trunk@973116 b8457f37-d9ea-0310-8a92-e5e31aec5664