rebase on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:23:21 -04:00
parent d37566ffb6
commit d096058d7d
4789 changed files with 254611 additions and 307223 deletions

View File

@@ -381,7 +381,14 @@ class WC_Privacy extends WC_Abstract_Privacy {
}
foreach ( $user_ids as $user_id ) {
wp_delete_user( $user_id );
wp_delete_user( $user_id, 0 );
wc_get_logger()->info(
sprintf(
/* translators: %d user ID. */
__( "User #%d was deleted by WooCommerce in accordance with the site's personal data retention settings. Any content belonging to that user has been retained but unassigned.", 'woocommerce' ),
$user_id
)
);
$count ++;
}
}