mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@54409 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user