-
-
Notifications
You must be signed in to change notification settings - Fork 1
Clean Perform runtime options during multisite uninstall #85
Copy link
Copy link
Closed
Labels
area: cachePage cache, menu cache, preload, invalidation, observability, or cache settings.Page cache, menu cache, preload, invalidation, observability, or cache settings.area: compatibilityWordPress, PHP, multisite, WooCommerce, theme, or plugin compatibility.WordPress, PHP, multisite, WooCommerce, theme, or plugin compatibility.area: settingsSettings schema, storage contracts, migration, import/export, and validation.Settings schema, storage contracts, migration, import/export, and validation.bugConfirmed or likely defect affecting runtime behavior, UX, compatibility, or data handling.Confirmed or likely defect affecting runtime behavior, UX, compatibility, or data handling.priority: mediumUseful or user-impacting work that should be planned but is not blocking now.Useful or user-impacting work that should be planned but is not blocking now.status: readyScoped enough for implementation without major open questions.Scoped enough for implementation without major open questions.
Milestone
Metadata
Metadata
Assignees
Labels
area: cachePage cache, menu cache, preload, invalidation, observability, or cache settings.Page cache, menu cache, preload, invalidation, observability, or cache settings.area: compatibilityWordPress, PHP, multisite, WooCommerce, theme, or plugin compatibility.WordPress, PHP, multisite, WooCommerce, theme, or plugin compatibility.area: settingsSettings schema, storage contracts, migration, import/export, and validation.Settings schema, storage contracts, migration, import/export, and validation.bugConfirmed or likely defect affecting runtime behavior, UX, compatibility, or data handling.Confirmed or likely defect affecting runtime behavior, UX, compatibility, or data handling.priority: mediumUseful or user-impacting work that should be planned but is not blocking now.Useful or user-impacting work that should be planned but is not blocking now.status: readyScoped enough for implementation without major open questions.Scoped enough for implementation without major open questions.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Finding
The uninstall handler removes runtime options on single-site installs, but the multisite branch only deletes the older settings option list for each blog.
Evidence
uninstall.phpsingle-site cleanup deletesperform_assets_manager_options,perform_cache_preload_queue, andperform_cache_stats.$setting_types, so those runtime options remain behind on every site whenremove_data_on_uninstallis enabled.Impact
Network installs can retain Perform asset-manager and cache runtime data after uninstall even when the user explicitly opted into data removal. This is especially visible for the new page-cache queue/stats options introduced for the 1.6.0 release branch.
Suggested fix
Use one consolidated option list for uninstall cleanup, or add the runtime options to the multisite deletion loop while preserving the existing single-site behavior.
Acceptance criteria
remove_data_on_uninstallenabled, multisite uninstall removes all Perform settings and runtime options for each active site.