Skip to content

Conversation

@jasonbahl
Copy link
Collaborator

This PR changes the actions that are listened to for purging tags.

Instead of purging in response to the edited_term_taxonomy, which gets called when a post associated with a term is updatated, even when the term relationship hasn't changed, this now responds to the added_term_relationship and deleted_term_relationship hooks, as well as the saved_term hook.

In addition, this adds logic to the transition post status callback to also call the added/deleted term relationship callbacks.

@jasonbahl jasonbahl self-assigned this Apr 28, 2023
@jasonbahl jasonbahl merged commit 69dc168 into main Apr 28, 2023
@jasonbahl jasonbahl mentioned this pull request Apr 28, 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