<span class="Apple-style-span" style="font-family: Arial, sans-serif; border-collapse: collapse; "><div> On Thu, Aug 19, 2010 at 6:45 AM, Philip M. Hofer (Frumph) <span dir="ltr"><<a href="mailto:philip@frumph.net">philip@frumph.net</a>></span> wrote:</div>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
3) search for 'register_nav' for the wp_nav_menu, if it doesn't exist, search for add_theme_support('menus') if that doesn't exist, and wp_nav_menus is used, fail. Note, old add_theme_support('nav-menus'); needs to be add_theme_support('menus'); now.</blockquote>
</span><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">This is incorrect. add_theme_support('menus') is an internal process only. *It should never be directly called.* Instead, the theme should be calling register_nav_menu(s) which will trigger add_theme_support('menus') internally.</span></font></div>
<div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Likewise, add_theme_support('widgets') is internal only. The theme should only be calling register_sidebar(s).<font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="border-collapse: separate;"><br>
</span></font></span></font></div>