From fd4b0965f84aaf5f5703ed0e7da9546cd50c8292 Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 12 Nov 2010 10:58:58 +0000 Subject: [PATCH] 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 --- wp-includes/taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 07afbd6e6..e7552056f 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -77,7 +77,7 @@ function create_initial_taxonomies() { '_builtin' => true, ) ) ; - register_taxonomy( 'post_format', array('post', 'page', 'attachment'), array( + register_taxonomy( 'post_format', 'post', array( 'public' => false, 'hierarchical' => false, 'labels' => array(