Skip to content

bugfix/CO-3434_manufacturer_linking_not_set - #42

Open
github-actions[bot] wants to merge 1 commit into
developfrom
bugfix/CO-3434_manufacturer_linking_not_set
Open

bugfix/CO-3434_manufacturer_linking_not_set#42
github-actions[bot] wants to merge 1 commit into
developfrom
bugfix/CO-3434_manufacturer_linking_not_set

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Auto-drafted on push to bugfix/CO-3434_manufacturer_linking_not_set. Replace this body with details before requesting review.

wp_insert_term returns an array, not a WP_Term object. The subsequent
instanceof WP_Term check always failed for new manufacturers, so the
endpoint ID was never set and the link table entry was never created.
Convert the array result to a WP_Term via get_term_by before proceeding.
@jtlmagnus MagnusPienknyJTL (jtlmagnus) changed the title Draft: bugfix/CO-3434_manufacturer_linking_not_set bugfix/CO-3434_manufacturer_linking_not_set Jun 3, 2026
@AndreasKempeJTL
Andreas Kempe (AndreasKempeJTL) changed the base branch from master to develop June 25, 2026 12:22
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.

2 participants