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 5abf3b5a8dd91b..c2ca6f942f4c65 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' ), ); /*