Multisite: surface pre-1.0.3 host lists awaiting review in Network Admin #25
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #21.
Since 1.0.3, on multisite any host list saved before 1.0.3 (settings version < 2) is ignored until a network admin re-saves it on that site's settings page. Every list written by 1.0.2 is version 1, so upgrading a network turns rewriting off on every site, including the main site, until each one is re-saved. While it is off, onion visitors are served clearnet URLs again.
The only signal is
SettingsRenderer::renderReviewNotice()onadmin_notices, which shows in that site's own wp-admin. A super admin working from Network Admin never sees it and has to visit each site to discover the problem.Single-site is unaffected.
Proposed
network_admin_notices: list the sites whose storedmulti_domain_redux_settingsis non-empty with version <Repository::NETWORK_TRUSTED_VERSION, each linked to its settings page (get_admin_url( $blog_id, 'options-general.php?page=multi-domain-redux' )). Show tomanage_network_optionsonly.get_sites( [ 'number' => 0, 'fields' => 'ids' ] )plusget_blog_option(), or cache the result in a site transient cleared when any site's option is updated.readme.txtchangelog for the release that ships it.Not a security issue; this is about making the upgrade effect visible.