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
This commit is contained in:
parent
459a358e04
commit
9c73d36b9a
@ -119,6 +119,8 @@ addLoadEvent(focusit);
|
||||
|
||||
<?php
|
||||
$authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM
|
||||
if ( $post->post_author && !in_array($post->post_author, $authors) )
|
||||
$authors[] = $post->post_author;
|
||||
if ( $authors && count( $authors ) > 1 ) :
|
||||
?>
|
||||
<fieldset id="authordiv" class="dbx-box">
|
||||
|
Loading…
Reference in New Issue
Block a user