From e2bec6bd606ba4cdbd046b5c5bc54d05daf32797 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 24 Feb 2010 22:13:23 +0000 Subject: [PATCH] only show tags in inline-edit for post_types that support them. Props prettyboymp. see #9674 git-svn-id: http://svn.automattic.com/wordpress/trunk@13389 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 92f8ff1f3c..6563750bc0 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1010,7 +1010,7 @@ function inline_edit_row( $screen ) { - +post_type, 'category') && !$bulk ?>
@@ -1052,14 +1052,16 @@ function inline_edit_row( $screen ) { - +hierarchical ?> + +post_type, 'post_tag') && !$bulk ) : ?> - +post_type, 'post_tag') && !$bulk ?>