add_menu_page() should be able to not made it's own sub-menu
|Reported by:||Viper007Bond||Owned by:||anonymous|
Currently, when you use add_menu_page(), it automatically makes a top-level menu (this is good), but then goes on to make a sub-menu of the same name under itself (this can be annoying).
I'd like it a lot better if it didn't and we had to do add_submenu_page() to get a sub-menu. Then we could do menu pages much like the rest of WordPress (ex: Options -> General rather than Options -> Options).
For backwards compatibility though, we'd probably have to make it an additional parameter tagged onto the end of add_menu_page().