Skip to content

Co-Authors Plus 4.2.2

Latest

Choose a tag to compare

@GaryJones GaryJones released this 07 Nov 16:21
· 36 commits to develop since this release
4.2.2
179e996

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_author on 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 sends author without coauthors now has post_author set 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 with unfiltered_html by @GaryJones in #1594