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

PR #16814 breaks Co-Authors-Plus plugin Guest Author creation functionality #17241

Closed
onpubcom opened this issue Aug 28, 2019 · 2 comments · Fixed by #17317
Closed

PR #16814 breaks Co-Authors-Plus plugin Guest Author creation functionality #17241

onpubcom opened this issue Aug 28, 2019 · 2 comments · Fixed by #17317
Labels
[Type] Bug An existing feature does not function as intended [Type] Plugin Interoperability Incompatibilities between a specific plugin and the block editor. Close with workaround notes.

Comments

@onpubcom
Copy link

Describe the bug
The filter merged in PR #16814 blanks out the default 'Auto Draft' title string for auto-draft status Posts, which leads to breakage when you try to create a new Guest Author with the co-authors-plus plugin.

I was torn as to whether to file this here or via that plugin's repo, but it seems like maybe this filter logic is making some assumptions that might lead to breakage in other plugins that have similar current dependencies on core/default Auto Draft title functionality.

To reproduce
Steps to reproduce the behavior:

  1. Install/activate gutenberg 6.3.0 plugin from wordpress.org
  2. Install/activate co-authors-plus 3.4 plugin from wordpress.org
  3. Go to /wp-admin/post-new.php?post_type=guest-author
  4. Attempt to add new Guest Author. The auto-draft post gets created but none of the Guest Author fields are able to be saved properly because of the Co-Authors filter_wp_insert_post_empty_content filter check requires the auto-draft Post's title to be defined in order for it to continue with its other custom Guest Author Post save hooks

Expected behavior
Deactivate the Gutenberg plugin and Co-Authors-Plus Guest Authors are now able to be added/updated properly again.

@onpubcom
Copy link
Author

@talldan talldan added [Type] Bug An existing feature does not function as intended [Type] Plugin Interoperability Incompatibilities between a specific plugin and the block editor. Close with workaround notes. labels Aug 29, 2019
@onpubcom
Copy link
Author

Thanks so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended [Type] Plugin Interoperability Incompatibilities between a specific plugin and the block editor. Close with workaround notes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants