Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is for #36.
I tried a few ways of trying to fix this in the past and could never get
wp core multisite-convert
to do what we wanted. However using this code I managed to do the following in using this in this Chassis PR:multisite: Yes
multisite: Yes
to a single sitemultisite: subdomains
multisite: subdomains
to a single siteAfter each
vagrant provision
had completed for those items I also ran a secondvagrant provision
just to see if anything changed again or failed and it didn't.When I set up the original single site I also imported the theme unit test data to check to see if the data persisted when I changed to multisite and it did which was great.
Feel free to test it as well and also let me know if there's something I haven't thought about or missed with this.