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

git-svn-id: https://develop.svn.wordpress.org/trunk@16322 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-11-12 10:58:58 +00:00
parent 92b8c22e03
commit f75f0aee7f
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(