[theme-reviewers] General Inquiry

Edward Caissie edward.caissie at gmail.com
Thu Aug 19 17:36:29 UTC 2010


I've made edits to the codex page: Theme Review to reflect this ...

http://codex.wordpress.org/Theme_Review#WordPress_Hooks_and_Template_Tags


Cais.

On Thu, Aug 19, 2010 at 12:58 PM, Philip M. Hofer (Frumph) <
philip at frumph.net> wrote:

>  I'll edit my help doc and talk to Cais about editing the Codex, thanks
> Nacin!
>
> - Phil
>
> ----- Original Message -----
> *From:* Andrew Nacin <wp at andrewnacin.com>
> *To:* Philip M. Hofer (Frumph) <philip at frumph.net>
> *Cc:* Rebecca Tech <becky.techy at gmail.com> ;
> theme-reviewers at lists.wordpress.org
> *Sent:* Thursday, August 19, 2010 9:10 AM
> *Subject:* Re: [theme-reviewers] General Inquiry
>
>  On Thu, Aug 19, 2010 at 6:45 AM, Philip M. Hofer (Frumph) <
> philip at frumph.net> wrote:
>
>> 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.
>
>
> 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.
>
> Likewise, add_theme_support('widgets') is internal only. The theme should
> only be calling register_sidebar(s).
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100819/b69e3df3/attachment-0001.htm>


More information about the theme-reviewers mailing list