Skip to content

Commit 24e929c

Browse files
MaggieCabreramikachan
authored andcommitted
add support for selects on the elements API
1 parent edaed03 commit 24e929c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,11 +629,13 @@ 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',
632633
);
633634

634635
const __EXPERIMENTAL_ELEMENT_CLASS_NAMES = array(
635636
'button' => 'wp-element-button',
636637
'caption' => 'wp-element-caption',
638+
'select' => 'wp-element-select',
637639
);
638640

639641
/**

0 commit comments

Comments
 (0)