From f75f0aee7fc600c863940a835e0dfd83cbc41e8c Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@16322 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 07afbd6e62..e7552056f5 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(