Only register post_format taxonomy to posts. see #15396, #14746.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-11-12 10:58:58 +00:00
parent 2ad9865886
commit fd4b0965f8
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ function create_initial_taxonomies() {
'_builtin' => true, '_builtin' => true,
) ) ; ) ) ;
register_taxonomy( 'post_format', array('post', 'page', 'attachment'), array( register_taxonomy( 'post_format', 'post', array(
'public' => false, 'public' => false,
'hierarchical' => false, 'hierarchical' => false,
'labels' => array( 'labels' => array(