When viewing the posts screen you don't see all the authors of a given post.
Solution
The function get_author_ids wasn't returning the author ID's of all posts. This PR now shows all users in the column even when the user hasn't been assigned a role.
Steps to test
Ensure you have a post where the post author is a super admin that hasn't been added to the site.
Viewing all posts this will be identifiable by a post which has no author listed. It will be blank.
Applying the PR allows the site to reference a user despite them having no assigned role on the site, Altis Dev is a super admin and isn't assigned to the current site with any role/s :
Related issue : https://github.com/humanmade/product-dev/issues/993
Issue
When viewing the posts screen you don't see all the authors of a given post.
Solution
The function
get_author_ids
wasn't returning the author ID's of all posts. This PR now shows all users in the column even when the user hasn't been assigned a role.Steps to test