From c9acff6e9391ccf7645987315ef8f498052dabb7 Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Fri, 1 Jul 2022 15:40:00 +0100 Subject: [PATCH] Add visited pseudo to allowed list --- lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php b/lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php index 5abf3b5a8dd91..c2ca6f942f4c6 100644 --- a/lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php +++ b/lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php @@ -22,7 +22,7 @@ class WP_Theme_JSON_6_1 extends WP_Theme_JSON_6_0 { * Note: this will effect both top level and block level elements. */ const VALID_ELEMENT_PSEUDO_SELECTORS = array( - 'link' => array( ':hover', ':focus', ':active' ), + 'link' => array( ':hover', ':focus', ':active', ':visited' ), ); /*