Skip to content

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
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