Automattic/Co-Authors-Plus — pull request #226 by LinuxBozo (2014-09-24 19:16:24+00:00)
Title: A few bugfixes

These bugfixes should take care of issues that people are probably having with this plugin.
The first takes care of issues where posts still won't show up under 'Mine' in the posts list if they are marked private and your co-author doesn't have read_private_posts capability. This is because that type of query has a where clause in which post_author is compared twice, not just once. We should just replace all instances of the post_author comparison, not just the first.
The second really is just correcting some logic. We should add the capability if the user doesn't have it already, not re-add it if they already do. The difference between the ! empty vs. empty.