Repository navigation
Co-authors now only get comment emails they could act on: guest authors without a linked user no longer receive moderation emails, and Contributors no longer receive them for published posts.
Security
- Email new comments to each co-author only when they can read the post, and moderation requests only when they can edit the comment, as core does for the post author. Responsibly disclosed by antaloaalonso on HackerOne. Fixed by @GaryJones in #1589
- Read guest author profile data only from guest author posts, so another post can't be taken for a guest author by @GaryJones in #1590
- Leave co-authors' email addresses and logins out of the posts list for users who can't set authors by @GaryJones in #1591
- Count a user's private posts only for viewers who can read them, as core does by @GaryJones in #1592
- Keep
post_authoron the first co-author on every save, and check the post type's own edit-others capability whenever co-authors are set. A REST request that sendsauthorwithoutcoauthorsnow haspost_authorset from the byline by @GaryJones in #1593 and #1595 - Filter the Co-Authors block's prefix and suffix with
wp_kses_post()when it renders, including markup saved by users withunfiltered_htmlby @GaryJones in #1594