Automattic / Co-Authors-Plus

Multiple bylines and Guest Authors for WordPress
https://wordpress.org/plugins/co-authors-plus/
GNU General Public License v2.0
290 stars 205 forks source link

Guest Author Not Saving on Draft Posts after 3.5.8 update #919

Open mjonasftc opened 1 year ago

mjonasftc commented 1 year ago

To recreate:

  1. Create a new post
  2. Add a Guest Author
  3. Remove your own author name (so that the guest author is the only Author)
  4. Save the post as a draft
  5. Previewing the post
  6. Seeing the original WordPress Author as the author on the preview
GaryJones commented 1 year ago

Since we haven't got a block to display a list of coauthors yet, then I think this is still an issue.

gamebits commented 1 month ago

Since we haven't got a block to display a list of coauthors yet, then I think this is still an issue.

I think we now do have that block: https://github.com/Automattic/Co-Authors-Plus/pull/997

Block on backend cap-block-01

Block on frontend cap-block-02

douglas-johnson commented 1 month ago

It seems like the co-authors are being saved to the draft post in the example screenshot provided by @gamebits

The block is only able to represent the data as it exists when the editor is loaded. There isn't a mechanism for fetching new data when the co-authors change... yet. This is the same behavior as categories and tags in the editor.