diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 18afee3abd..b8f664d140 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -4210,6 +4210,21 @@ function wp_is_block_theme() { return wp_get_theme()->is_block_theme(); } +/** + * Given an element name, returns a class name. + * + * Alias of WP_Theme_JSON::get_element_class_name. + * + * @since 6.1.0 + * + * @param string $element The name of the element. + * + * @return string The name of the class. + */ +function wp_theme_get_element_class_name( $element ) { + return WP_Theme_JSON::get_element_class_name( $element ); +} + /** * Adds default theme supports for block themes when the 'setup_theme' action fires. * diff --git a/wp-includes/version.php b/wp-includes/version.php index e15db67ef5..329838cea4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-54173'; +$wp_version = '6.1-alpha-54174'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.