From f11175d631b700e4c0d97f1297be39484cc2b872 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 7 Apr 2010 05:08:37 +0000 Subject: [PATCH] Check for post type support in quick/bulk edit. props caesarsgrunt for some of the commit. see #12869 git-svn-id: https://develop.svn.wordpress.org/trunk@14025 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 45 ++++++++++++++++++++++------------ 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 1aa0a0c950..34d1d26d9f 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -895,7 +895,10 @@ function inline_edit_row( $screen ) {

- +post_type, 'title' ) ) : + if ( $bulk ) : ?>
@@ -907,16 +910,15 @@ function inline_edit_row( $screen ) { - - - - - + + +
@@ -925,6 +927,7 @@ function inline_edit_row( $screen ) { post_type, 'author' ) ) : $authors = get_editable_user_ids( $current_user->id, true, $screen->post_type ); // TODO: ROLE SYSTEM $authors_dropdown = ''; if ( $authors && count( $authors ) > 1 ) : @@ -939,7 +942,11 @@ function inline_edit_row( $screen ) { endif; // authors ?> - +