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
feat: add connectedTerms
connection to Taxonomy object
#2256
feat: add connectedTerms
connection to Taxonomy object
#2256
Conversation
|
@justlevine thanks for this PR! 🙏🏻 Yes, this is related to #2026. I hope to get that wrapped up here soon, and I'll include this with that, for sure. I'm going to get v1.7.0 released first, then circle back to these. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. If you believe this issue is still valid, please open a new issue and mark this as a related issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. If you believe this issue is still valid, please open a new issue and mark this as a related issue. |
…-connectedTerms-to-taxonomy # Conflicts: # tests/wpunit/TaxonomyObjectQueriesTest.php
Code Climate has analyzed commit 05b3973 and detected 0 issues on this pull request. View more on Code Climate. |
What does this implement/fix? Explain your changes.
This PR adds a connection from
Taxonomy
toTermNode
, using theconnectedTerms
field.This allows for more generic queries to be made, and is particular useful for post archives:
Any other comments?
Somewhat related to #2026 , as it creates a relationship between
ContentNode
andTermNode
, albeit by using theContentType
as the intermediary.Where has this been tested?
Operating System: Ubuntu 20.04
WordPress Version: 5.9.1