Make WordPress Core

Changeset 54409


Ignore:
Timestamp:
10/07/2022 09:44:25 AM (2 years ago)
Author:
jorgefilipecosta
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme-json.php

    r54408 r54409  
    424424        // The block classes are necessary to target older content that won't use the new class names.
    425425        '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',
     426        'cite'    => 'cite',
    426427    );
    427428
Note: See TracChangeset for help on using the changeset viewer.