[wp-trac] [WordPress Trac] #27254: add_theme_support from theme's should not be eclusionary
WordPress Trac
noreply at wordpress.org
Sun Mar 2 04:54:02 UTC 2014
#27254: add_theme_support from theme's should not be eclusionary
-----------------------------+-----------------------------
Reporter: webdevmattcrom | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Thumbnails | Version: 3.8.1
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
If a theme defines an array for defining thumbnail support, like so:
add_theme_support('post-thumbnails', 'posts'), then plugins cannot
override it, meaning any plugin that creates a custom post type and wants
it to utilize a featured image cannot do that with add_theme_support. A
workaround has been posted here:
http://wordpress.stackexchange.com/questions/23839/using-add-theme-
support-inside-a-plugin
But there should be the ability to simply add more thumbnail support in a
standard fashion.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27254>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list