[theme-reviewers] add_theme_support()

Edward Caissie edward.caissie at gmail.com
Mon Sep 20 00:22:19 UTC 2010


Thanks for the "heads up", Nacin;

We'll look into referencing this on the Theme Review page(s), too.


Cais.

On Sun, Sep 19, 2010 at 8:16 PM, Andrew Nacin <wp at andrewnacin.com> wrote:

> A heads up, I've removed references to read-only parameters for
> add_theme_support() from
> http://codex.wordpress.org/Function_Reference/add_theme_support.
>
> Any theme enabling 'editor-style', 'menus', 'custom-header',
> 'custom-background', or 'widgets' via add_theme_support() is doing it wrong.
> These are internal registrations so we can transparently use
> current_theme_support(). In fact WordPress prevents these in particular from
> being removed via remove_theme_support(), that way there are no imbalances.
>
> Nacin
>
> _______________________________________________
> 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/20100919/dd73ecab/attachment.htm>


More information about the theme-reviewers mailing list