[theme-reviewers] add_theme_support()

Andrew Nacin wp at andrewnacin.com
Mon Sep 20 00:16:58 UTC 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100919/c17f9aa4/attachment.htm>


More information about the theme-reviewers mailing list