Post formats should show_in_nav_menus when the current theme supports them. Props filosofo, nacin. Fixes #16390.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ef1e76a833
commit
312e1f1811
|
@ -107,7 +107,7 @@ function create_initial_taxonomies() {
|
|||
'rewrite' => $rewrite['post_format'],
|
||||
'show_ui' => false,
|
||||
'_builtin' => true,
|
||||
'show_in_nav_menus' => false,
|
||||
'show_in_nav_menus' => current_theme_supports( 'post-formats' ),
|
||||
) );
|
||||
}
|
||||
add_action( 'init', 'create_initial_taxonomies', 0 ); // highest priority
|
||||
|
|
Loading…
Reference in New Issue