I can’t speak for the folks who are having trouble with the Domain Mapping plugin, but simply moving restore_current_blog()
up into the foreach
loop as Elliot suggest appears to fix my PATH_CURRENT_SITE problem!
Adding the extra restore_current_blog()
as in Austin’s example seems redundant, but it also doesn’t appear to be hurting things in my case, so if that fixes the Domain Mapping issues maybe that’s a reasonable tradeoff…
Thanks for investigating, Elliot!