[wp-trac] [WordPress Trac] #11817: Better Site Menu Management
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 28 18:22:05 UTC 2010
#11817: Better Site Menu Management
----------------------------+-----------------------------------------------
Reporter: scribu | Owner:
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 3.0
Component: General | Version:
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
Comment(by ptahdunbar):
> '''attachment''' ticket_11817_nav_menu_bugfixes_tweaks.diff
Started doing some work on the front-end side and did a sweep through,
documenting functions, cleaning out stale code, more refactoring and some
bug fixes.[[BR]]
Removed the id, and slug args from wp_nav_menu() in place of 'menu' which
can take the menu id, slug, or name.[[BR]]
New function: is_nav_menu() checks whether a menu exists. Pass an id,
slug, or name.[[BR]]
New wp_get_nav_menu() returns the nav menu.[[BR]]
All the js code is abstracted so it can handle any menu item type. Started
doing some work on hooks. Removed the advanced stuff from the nav menu
widget. Overall things are getting stable at this point.
Still to do from the Menu Manifesto:[[BR]]
* Hooks[[BR]]
* Accessibility[[BR]]
And
> The URL for Pages and Categories should not be editable.
If I have the time, I'll update the available menu items (custom links,
pages, categories) to support any taxonomy type.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11817#comment:254>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list