When the WordPress Network Update script runs, if it gets to a site it “cannot resolve”, the script stops there, and no sites are updated period. So if there is 1 site in a 1000 site MultiSite install that won’t resolve (ie: domain expired) you cannot roll-out the update to any sites in your Network. You can of course go into Network admin and remove the site, but sometimes you don’t have time, or you know the domain will be renewed (especially if it’s your own domain).
I was once pointed to a work-around for this. But alas, no amount of Google searching has helped me find it again.
Does anyone know how to achieve this?
I’d say that’s not possible to hook into that…
Here’s the relevant part from
/wp-admin/network/upgrade.php
:But from that we can make a little tool to list all dead blogs.
And an option to deactivate each one*.
*Copied from
/wp-admin/includes/class-wp-ms-sites-list-table.php
.