Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gutenberg does not use the remove_meta_box command #614

Open
jonathanstegall opened this issue Oct 15, 2018 · 4 comments
Open

Gutenberg does not use the remove_meta_box command #614

jonathanstegall opened this issue Oct 15, 2018 · 4 comments

Comments

@jonathanstegall
Copy link

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
Copy link
Author

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
Copy link
Member

mjangda commented Dec 7, 2018

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
Copy link

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

@scofennell
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants