I've made edits to the codex page: Theme Review to reflect this ...<br><br><a href="http://codex.wordpress.org/Theme_Review#WordPress_Hooks_and_Template_Tags">http://codex.wordpress.org/Theme_Review#WordPress_Hooks_and_Template_Tags</a><br>
<br><br>Cais.<br><br><div class="gmail_quote">On Thu, Aug 19, 2010 at 12:58 PM, Philip M. Hofer (Frumph) <span dir="ltr"><<a href="mailto:philip@frumph.net">philip@frumph.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font size="2" face="Arial">I'll edit my help doc and talk to Cais about
editing the Codex, thanks Nacin!</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">- Phil</font></div><div><div></div><div class="h5">
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;" dir="ltr">
<div style="font: 10pt arial;">----- Original Message ----- </div>
<div style="font: 10pt arial; background: none repeat scroll 0% 0% rgb(228, 228, 228);"><b>From:</b>
<a title="wp@andrewnacin.com" href="mailto:wp@andrewnacin.com" target="_blank">Andrew Nacin</a>
</div>
<div style="font: 10pt arial;"><b>To:</b> <a title="philip@frumph.net" href="mailto:philip@frumph.net" target="_blank">Philip M. Hofer (Frumph)</a> </div>
<div style="font: 10pt arial;"><b>Cc:</b> <a title="becky.techy@gmail.com" href="mailto:becky.techy@gmail.com" target="_blank">Rebecca Tech</a> ; <a title="theme-reviewers@lists.wordpress.org" href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a>
</div>
<div style="font: 10pt arial;"><b>Sent:</b> Thursday, August 19, 2010 9:10
AM</div>
<div style="font: 10pt arial;"><b>Subject:</b> Re: [theme-reviewers] General
Inquiry</div>
<div><br></div><span style="border-collapse: collapse; font-family: Arial,sans-serif;">
<div> On Thu, Aug 19, 2010 at 6:45 AM, Philip M. Hofer
(Frumph) <span dir="ltr"><<a href="mailto:philip@frumph.net" target="_blank">philip@frumph.net</a>></span> wrote:</div>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">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 face="Arial, sans-serif"><span style="border-collapse: collapse;"><br></span></font></div>
<div><font face="Arial, sans-serif"><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 face="Arial, sans-serif"><span style="border-collapse: collapse;"><br></span></font></div>
<div><font face="Arial, sans-serif"><span style="border-collapse: collapse;">Likewise,
add_theme_support('widgets') is internal only. The theme should only be
calling register_sidebar(s).<font face="arial"><span style="border-collapse: separate;"><br></span></font></span></font></div></blockquote></div></div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br>