When specifying --skip-idsites
in a CLI call to core:archive
, it will actually process only these sites instead of skipping them.
The current implementation looks like this:
if (!empty($this->shouldSkipSpecifiedSites)) {
$websiteIds = array_intersect($websiteIds, $this->shouldSkipSpecifiedSites);
}
I guess it should use array_diff
instead of array_intersect
.
Thanks for finding this regression @Callidior 👍 Very appreciated