[wp-trac] [WordPress Trac] #24135: Twenty Thirteen doesn't show all supported post formats for default post format
WordPress Trac
noreply at wordpress.org
Fri Apr 19 07:12:34 UTC 2013
#24135: Twenty Thirteen doesn't show all supported post formats for default post
format
-----------------------------+--------------------------
Reporter: aniketpant | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Themes
Version: trunk | Severity: normal
Keywords: has-patch |
-----------------------------+--------------------------
Just noticed that after activating Twenty Thirteen, all supported post
formats are not available for selection in `Settings > Writing > Default
Post Format`.
I first looked into [http://core.trac.wordpress.org/browser/trunk/wp-admin
/options-writing.php wp-admin/options-writing.php], but it is only able to
get only three post formats from the theme. So, I looked into the code for
the theme and in [http://core.trac.wordpress.org/browser/trunk/wp-
content/themes/twentythirteen/functions.php#L87
twentythirteen/functions.php line 87]
{{{
#!php
add_theme_support( 'structured-post-formats', array(
'link', 'video'
) );
}}}
If the above code is removed, it seems to work. Not sure why `structured-
post-formats` is changing `post-formats`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24135>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list