From 148049329dc3befa3fa290fac23b8a033ed8e14c Mon Sep 17 00:00:00 2001 From: jorgefilipecosta Date: Fri, 7 Oct 2022 09:46:13 +0000 Subject: [PATCH] Fix: cite styles declared via theme.json not working. Fixes an issue where cite elements declared on theme.json are not being output on the front end of the website. Props oandregal, carolinan, scruffian. See #56467. Built from https://develop.svn.wordpress.org/trunk@54409 git-svn-id: http://core.svn.wordpress.org/trunk@53968 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-theme-json.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/class-wp-theme-json.php b/wp-includes/class-wp-theme-json.php index 91a56936ac..005e88dc29 100644 --- a/wp-includes/class-wp-theme-json.php +++ b/wp-includes/class-wp-theme-json.php @@ -423,6 +423,7 @@ class WP_Theme_JSON { 'button' => '.wp-element-button, .wp-block-button__link', // The block classes are necessary to target older content that won't use the new class names. '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', + 'cite' => 'cite', ); const __EXPERIMENTAL_ELEMENT_CLASS_NAMES = array( diff --git a/wp-includes/version.php b/wp-includes/version.php index 45e689d862..96cd3fc894 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-beta3-54408'; +$wp_version = '6.1-beta3-54409'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.