Automattic / Co-Authors-Plus

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

Gutenberg does not use the remove_meta_box command #614

Open jonathanstegall opened 5 years ago

jonathanstegall commented 5 years ago

I was testing Gutenberg a bit today and I noticed that the default author dropdown appears in the Document panel even when Co-Authors-Plus is active.

Of course currently this command removes the box from the classic editor.

I've been looking around for what the equivalent is in Gutenberg. Most of the support threads I've seen end up pointing me to this GitHub issue, which started out specific to featured images, but also mentions others (such as in this comment).

While this issue is not closed in Gutenberg, I thought it would be good to flag it here in case they come up with a usable solution before launch that can be implemented here.

jonathanstegall commented 5 years ago

I saw a recent update in Gutenberg about this:

To my knowledge, this Author field in Gutenberg can't be disabled:

Image of author metabox in Gutenberg

It appears when the current post type has supports.author, the logged in user has permission to change an author, and there are two or more users in the current WordPress site.

Co-Authors-Plus does appear to function regardless of what that dropdown is doing, but it does potentially cause users a lot of confusion.

mjangda commented 5 years ago

Thanks for flagging this @jonathanstegall. Agreed that the dual author inputs is a cause for confusion.

For now, a "simple" fix may be to use javascript to hide/remove the core author box but definitely worth finding a better long-term solution as well.

manuelmeister commented 5 years ago

@mjangda is there a plan to replace the author field with a coauthor field in Gutenberg?

scofennell commented 3 years ago

This is a really a bad issue now that [https://github.com/Automattic/Co-Authors-Plus/pull/630] no longer works, because users are attempting to use the post_author selector, and it's obviously not working.