From 619e85cb963534facd80106232fb55eadf7a8067 Mon Sep 17 00:00:00 2001 From: Serhiy Zakharchenko Date: Thu, 19 Dec 2024 16:43:33 +0000 Subject: [PATCH] Allow multiple Merge Tags for Entry Slug field #2159 --- future/includes/class-gv-permalinks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/future/includes/class-gv-permalinks.php b/future/includes/class-gv-permalinks.php index c81bc248ea..92b6fb5335 100644 --- a/future/includes/class-gv-permalinks.php +++ b/future/includes/class-gv-permalinks.php @@ -587,7 +587,7 @@ private function entry_slug_validation(): array { ), ], [ - 'rule' => 'matches:^[a-zA-Z0-9_{}\-]*$', + 'rule' => 'matches:^(?:[a-zA-Z0-9_\-]|{[^}]*})*$', 'message' => esc_html__( 'Only letters, numbers, underscores and dashes are allowed.', 'gk-gravityview',