This commit is contained in:
Javier Casares 2026-08-17 18:51:45 +00:00
commit 7f89e98bbc

View file

@ -14,6 +14,9 @@ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
global $wpdb;
// User preferences are always removed: they are not user data, they are UI state.
$wpdb->delete( $wpdb->usermeta, array( 'meta_key' => 'robotstxt_mediaaudit_manager_notice_dismissed' ) ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery,WordPress.DB.SlowDBQuery.slow_db_query_meta_key
if ( is_multisite() ) {
// In Multisite, read the delete preference from the network settings option.
$net_raw = get_site_option( 'robotstxt_mediaaudit_network_settings', array() );