diff --git a/includes/admin/class-wc-admin-status.php b/includes/admin/class-wc-admin-status.php index 33deb2125c7..b3ee32b64df 100644 --- a/includes/admin/class-wc-admin-status.php +++ b/includes/admin/class-wc-admin-status.php @@ -95,7 +95,7 @@ class WC_Admin_Status { break; case 'clear_sessions' : - $wpdb->query( "DELETE FROM {$wpdb->prefix}woocommerce_sessions" ); + $wpdb->query( "TRUNCATE {$wpdb->prefix}woocommerce_sessions" ); wp_cache_flush();