Automattic / Automattic/aggregator

Terms not assigned on cloned post

Open
#27 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
21
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Terms are not being assigned on a post cloned from the origin site. The data is being carried over but the post displays in the list table with `Uncategorized` instead of the proper terms.

Oddly, if you clone a post (using a post cloning plugin we've written - uses `wp_set_object_terms()` to assign the same terms to the newly cloned post) the terms/taxonomies will display correctly on the new-new post.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the post-cloning flow and the use of wp_set_object_terms() when terms are copied from the origin site. Compare the first cloned post with the new-new post that displays terms correctly, and confirm the fix by checking that the cloned post shows its proper terms instead of Uncategorized in the list table.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, content
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.