[wp-trac] [WordPress Trac] #24440: despite limiting add_theme_support post-formats, all formats are displayed on posts and cpts
WordPress Trac
noreply at wordpress.org
Tue May 28 09:23:48 UTC 2013
#24440: despite limiting add_theme_support post-formats, all formats are displayed
on posts and cpts
--------------------------+-----------------------------
Reporter: ryno267 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Formats | Version: trunk
Severity: normal | Keywords:
--------------------------+-----------------------------
Example is there are only 4 post formats that are added to
add_theme_support, but all display on add new post and add new custom post
type.
{{{
add_theme_support( 'post-formats', array( 'image', 'video', 'audio',
'link' ) );
}}}
Also have custom post type code that adds 'post-formats' to 'supports'
{{{
'supports' => array( 'title', 'editor', 'thumbnail', 'post-formats'),
}}}
Regardless of that, all 10 post formats are shown on add new posts and the
'add new' CPT I added support to.
Should it not only display those 4?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24440>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list