Skip to content

Empty domain in framework test after get_sites_by_path change.#4695

Merged
danielbachhuber merged 1 commit intomasterfrom
get_sites_by_path-trunk-change-framework-test
Feb 19, 2018
Merged

Empty domain in framework test after get_sites_by_path change.#4695
danielbachhuber merged 1 commit intomasterfrom
get_sites_by_path-trunk-change-framework-test

Conversation

@gitlost
Copy link
Contributor

@gitlost gitlost commented Feb 19, 2018

Fixes #4694

Adjusts framework.feature:313 test to allow for this core changeset https://core.trac.wordpress.org/changeset/42698 which got around a bug in WP_Site_Query::query() which doesn't ignore domain__in when empty.

Does this by manually setting wp_blogs.domain to null so the query works across all WP versions.

@gitlost gitlost added the scope:testing Related to testing label Feb 19, 2018
@gitlost gitlost added this to the 2.0.0 milestone Feb 19, 2018
@gitlost gitlost requested a review from a team February 19, 2018 17:58
@danielbachhuber danielbachhuber merged commit 5262bb0 into master Feb 19, 2018
@danielbachhuber danielbachhuber deleted the get_sites_by_path-trunk-change-framework-test branch February 19, 2018 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:testing Related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants