From cdb9e49b8c97a2579c7d8cf3896bf54410a0449f Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 11 Aug 2011 03:02:01 +0000 Subject: [PATCH] Properly handle display of Order, Template, and Parent page attributes in Quick/Bulk Edit. props duck_, fixes #18352. git-svn-id: http://svn.automattic.com/wordpress/trunk@18527 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../includes/class-wp-posts-list-table.php | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index bdd24a62e..95b83010e 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -839,10 +839,11 @@ class WP_Posts_List_Table extends WP_List_Table { post_type, 'author' ) && $bulk ) echo $authors_dropdown; - ?> - hierarchical ) : ?> + if ( post_type_supports( $screen->post_type, 'page-attributes' ) ) : + if ( $post_type_object->hierarchical ) : + ?> - post_type, 'page-attributes' ) ) : + - + post_type ) : + ?> hierarchical ?> + endif; // page post_type + endif; // page-attributes + ?>