[wp-hackers] nav menus: theme locations vs. individual menus

Mike Schinkel mikeschinkel at newclarity.net
Sun Aug 1 20:15:38 UTC 2010


On Aug 1, 2010, at 10:19 AM, Davit Barbakadze wrote:
> Although there's still something misleading there, not quite sure
> what, maybe it's naming for the functions. For example
> register_nav_menus() function and it's codex page here:
> http://codex.wordpress.org/Function_Reference/register_nav_menus, they
> both kinda tell you that you are registering (creating) a menu, but in
> fact you are not. In fact it has nothing to do with menus. You are
> just registering a theme location, a slot for a menu, that probably
> has yet to be created. Maybe it should be like
> register_nav_menu_locations() or something.

+1 for that.

-Mike


More information about the wp-hackers mailing list