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

Fix / Co-Authors-Plus error #261

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

sbrody
Copy link
Contributor

@sbrody sbrody commented Nov 14, 2024

Adds a test to prevent Coauthors Plus function firing if there is no author, as this generates an error. Automattic/Co-Authors-Plus#1066

To test, load a page with no author and check that no errors are logged.

@sbrody sbrody force-pushed the fix/ensure-coauthors-does-not-fire-if-no-author branch from 58da3c9 to 8cbe7e5 Compare November 14, 2024 14:51
@sbrody sbrody merged commit 3244eaf into master Nov 14, 2024
3 checks passed
@sbrody sbrody deleted the fix/ensure-coauthors-does-not-fire-if-no-author branch November 14, 2024 15:21
@leedxw
Copy link
Contributor

leedxw commented Nov 21, 2024

Note that this causes a problem if the post had an author that has since been deleted - which is common on older sites.

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

Successfully merging this pull request may close these issues.

3 participants