-
Notifications
You must be signed in to change notification settings - Fork 313
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 Support for site__in and site__not_in parameters #2991
Conversation
5aa41b7
to
48bf613
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXCELLENT work on the unit tests, @burhandodhy, thanks. I've left some comments here and there with some minor changes.
One thing we will need to address (and this became obvious with your new code) is that single-site and multisite tests are always run. It would be great if we could split those up and really only run the multisite tests in multisite.
In order to parallelize these tests executions, we could create a new workflow (simply duplicating this XML) and have single tests running in one and multisite tests running in the other. What do you think? Is that something you want to tackle in this PR?
In addition to that change, we will also want to exclude "Multisite.php" classes in single-site.xml.dist
I removed the multisite tests from the |
Description of the Change
This PR adds the support for the
site__in
andsite__not_in
for the Post, Term and Comment Query. The oldsites
parameter will throw the deprecated warnings but keep working as it used to.Closes #1781
How to test the Change
Changelog Entry
Credits
Props @burhandodhy
Checklist: