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: update term action purge calls #226

Merged
merged 2 commits into from Jun 26, 2023

Conversation

jasonbahl
Copy link
Collaborator

This PR updates the purge events that are called in response to term updates.

When a term is saved, this adds the previously missing event name "term_saved" and when a term is removed from being associated with an object, this adds the previously missing event name "term_relationship_deleted".

Additionally, when an object is associated with a term the callback no longer calls purge on list:$taxonomy_name

- remove call to purge list:$type_name when a category has something associated with it, instead purge the IDs of the impacted terms
@jasonbahl jasonbahl self-assigned this Jun 23, 2023
@jasonbahl jasonbahl merged commit 8fce8f5 into main Jun 26, 2023
11 checks passed
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.

None yet

1 participant