Skip to content

Commit

Permalink
fix: only shows authors in the Link user dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
leogermani committed Jul 4, 2023
1 parent fd94f7d commit 1a99d47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions php/class-coauthors-guest-authors.php
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ function metabox_manage_guest_author_slug() {
'selected' => $linked_account_id,
// Don't let user accounts to be linked to more than one guest author
'exclude' => $linked_account_user_ids,
'capability' => array( apply_filters( 'coauthors_edit_author_cap', 'edit_posts' ) ),
)
)
);
Expand Down

0 comments on commit 1a99d47

Please sign in to comment.