From e423c4fde95b2b069a149245a41be3b26198d8a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alba=20Rinc=C3=B3n?= Date: Thu, 15 Jun 2023 16:07:47 +0200 Subject: [PATCH] Add a default attribute to the pattern if exists (https://github.com/woocommerce/woocommerce-blocks/pull/9812) * Add a default attribute to the pattern if exists * Use esc_attr instead of esc_html --- plugins/woocommerce-blocks/patterns/filters.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce-blocks/patterns/filters.php b/plugins/woocommerce-blocks/patterns/filters.php index 686e8263f83..5d70a96ac02 100644 --- a/plugins/woocommerce-blocks/patterns/filters.php +++ b/plugins/woocommerce-blocks/patterns/filters.php @@ -42,8 +42,17 @@

- -
+attribute_id; +} +?> + + +