From bf473f3545361677258ca2c9b1dc549dc068acdb Mon Sep 17 00:00:00 2001 From: markjaquith Date: Thu, 13 Jan 2011 07:14:12 +0000 Subject: [PATCH] Show the author dropdown in quick edit even when there is only one contributor-or-higher user and the post belongs to someone who no longer has contributor-or-higher access. fixes #14420 git-svn-id: http://svn.automattic.com/wordpress/trunk@17284 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-posts-list-table.php | 4 ++-- wp-admin/js/inline-edit-post.dev.js | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 2609d1903d..e622599523 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -764,7 +764,7 @@ class WP_Posts_List_Table extends WP_List_Table { if ( is_super_admin() || current_user_can( $post_type_object->cap->edit_others_posts ) ) : $users_opt = array( - 'hide_if_only_one_author' => true, + 'hide_if_only_one_author' => false, 'who' => 'authors', 'name' => 'post_author', 'class'=> 'authors', @@ -775,7 +775,7 @@ class WP_Posts_List_Table extends WP_List_Table { $users_opt['show_option_none'] = __( '— No Change —' ); if ( $authors = wp_dropdown_users( $users_opt ) ) : - $authors_dropdown = '