Skip to content

Commit 35395aa

Browse files
MaggieCabreramikachan
authored andcommitted
target the element directly instead of using a class
1 parent 24e929c commit 35395aa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/wp-includes/class-wp-theme-json.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,13 +629,12 @@ class WP_Theme_JSON {
629629
// The block classes are necessary to target older content that won't use the new class names.
630630
'caption' => '.wp-element-caption, .wp-block-audio figcaption, .wp-block-embed figcaption, .wp-block-gallery figcaption, .wp-block-image figcaption, .wp-block-table figcaption, .wp-block-video figcaption',
631631
'cite' => 'cite',
632-
'select' => '.wp-element-select',
632+
'select' => 'select',
633633
);
634634

635635
const __EXPERIMENTAL_ELEMENT_CLASS_NAMES = array(
636636
'button' => 'wp-element-button',
637637
'caption' => 'wp-element-caption',
638-
'select' => 'wp-element-select',
639638
);
640639

641640
/**

0 commit comments

Comments
 (0)