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

Add cache clearing for switched taxonomies #8

Closed
tw2113 opened this issue Jun 10, 2022 · 2 comments
Closed

Add cache clearing for switched taxonomies #8

tw2113 opened this issue Jun 10, 2022 · 2 comments
Milestone

Comments

@tw2113
Copy link
Member

tw2113 commented Jun 10, 2022

After we convert, especially for hierarchical, run clean_taxonomy_cache() for the chosen taxonomy.

https://developer.wordpress.org/reference/functions/clean_taxonomy_cache/

Original request: https://wordpress.org/support/topic/taxonomy-hierarchy-not-showing-up-on-the-terms-list-admin-page/

@tw2113
Copy link
Member Author

tw2113 commented Jun 16, 2022

Related: #5

The PR uses https://developer.wordpress.org/reference/functions/clean_term_cache/ so it's a good question of which is more efficient/"better"? clean_term_cache() vs clean_taxonomy_cache() ?

@tw2113 tw2113 added this to the 1.1.0 milestone Jun 16, 2022
@tw2113 tw2113 closed this as completed Jun 27, 2022
@tw2113
Copy link
Member Author

tw2113 commented Jun 27, 2022

Merged in via #5

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

No branches or pull requests

1 participant