Add $args parameter to wp_create_nav_menu()
|Reported by:||mikeschinkel||Owned by:|
The attached patch adds an $args parameter to wp_create_nav_menu() which simply gets passed to wp_insert_term(). This would not be used during the standard case but is important for use when a plugin uses the menu system as a building block for enhanced functionality and needs to either set a specific slug or a specific parent.
I don't need for much (any) testing so I hoping this can make it in 3.0 so I can get rid of the ugly hack in the "Microsite Editor" plugin I'm working on. Thanks. :-)