Automattic / Automattic/co-authors-plus

Does co-authors plus fire its own HTTP request to store coauthors?

Open
#1,024 3 comments 1 reaction 0 assignees View on GitHub
priority: medium status: needs investigation type: bug
Dominant language
PHP
Stars
322
Forks
216
Avg merge
7h 50m
Merged PRs (30d)
65

Description

I have written a plugin that synchs blog posts from one blog to another as they are published/updated/deleted.

It uses php to hook into `save_post`. I noticed recently that it is no longer catching updates to co-author assignments, because it seems like co-authors sends its own HTTP request to store coauthors, long after `save_post` has come and gone.

This is a nuisance for me because now I have to hook in twice (now using `wp_set_object_terms`) to capture all post changes, roughly doubling my network activity.

This behavior from co-authors is counter-intuitive. The post should be done saving ... when `save_post` is done.

Should I be doing something different or thinking about this differently somehow?

Contributor guide

Open the contributing guide

Research direction

Begin by tracing the WordPress save_post and wp_set_object_terms entry points described in the report, and inspect when Co-Authors Plus updates coauthor assignments. Done means establishing whether a separate HTTP request is made and documenting the supported hook or expected save lifecycle for synchronization.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, content
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.