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

Refactor --subdomains flag in the Install WP task #968

Merged
merged 1 commit into from
Mar 17, 2018

Conversation

primozcigler
Copy link
Contributor

According to the documentation the existance of the --subdomains is boolean value. If the item.value.multisite.subdomains was set to false (or not set) this task was treating it as it's set to true.

This commit is fixing this.

According to the
[documentation](https://developer.wordpress.org/cli/commands/core/multisite-install/)
the existance of the --subdomains is boolean value. If the
item.value.multisite.subdomains was set to false (or not set) this task
was treating it as it's set to true.

This commit is fixing this.
@swalkinshaw
Copy link
Member

😱 good find. Did this actually cause a bug or break something? I actually wonder if --subdomains=false works despite their docs.

Either way, it's more accurate 👍

@swalkinshaw swalkinshaw merged commit 8844aae into roots:master Mar 17, 2018
@primozcigler
Copy link
Contributor Author

primozcigler commented Mar 17, 2018

@swalkinshaw it does not work. That's how I found the bug 😉

And I've also tested it and with my fix, it works as it's supposed to.

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