From f851dc2257ff82bc178e8b8102332a5a8099c10c Mon Sep 17 00:00:00 2001 From: markjaquith Date: Thu, 6 Sep 2007 04:46:56 +0000 Subject: [PATCH] Always put the author of the post in the authors dropdown, even if they have since been demoted to a role without post-saving capabilities. fixes #4458 git-svn-id: http://svn.automattic.com/wordpress/trunk@6049 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-advanced.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 9aa94224e2..a54ca8c563 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -119,6 +119,8 @@ addLoadEvent(focusit); id ); // TODO: ROLE SYSTEM +if ( $post->post_author && !in_array($post->post_author, $authors) ) + $authors[] = $post->post_author; if ( $authors && count( $authors ) > 1 ) : ?>