From 9c73d36b9acb7b1b93a99bb3c3de4b3eb9da0308 Mon Sep 17 00:00:00 2001 From: Mark Jaquith 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: https://develop.svn.wordpress.org/trunk@6049 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 ) : ?>