[wp-trac] [WordPress Trac] #12739: Create remove_theme_support() function
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 31 09:03:09 UTC 2010
#12739: Create remove_theme_support() function
------------------------------------+---------------------------------------
Reporter: nathanrice | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.0
Component: Themes | Version: 3.0
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+---------------------------------------
Comment(by nacin):
There are solutions for this, mainly preventing them from mucking with
deregistering post types from post-thumbnails, when post-thumbnails was
not registered for specific post types initially. Too late for 3.0 for
now. Implementing the blacklist.
Workaround:
{{{
remove_theme_support('post-thumbnails');
add_theme_support('post-thumbnails', array( $ptypes_you_want ) );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12739#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list