Make WordPress Core

Opened 13 months ago

Last modified 13 months ago

#56525 new defect (bug)

Twenty Eleven: Font-style issue of "Add Citation" text in Pullquote Block

Reported by: kajalgohel's profile kajalgohel Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.0
Component: Bundled Theme Keywords: needs-patch dev-feedback
Focuses: ui, css Cc:

Description

In Twenty Eleven Theme, when we add Pullquote block in editor side, We can see that the font-style of "Add citation" text is Italic. But when we see the same Pullquote block at front side, font-style for "Add citation" text is not reflected, It is display normal.

Steps to replicate:
1: Activate the Twenty Eleven Theme
2: Add Pullquote block
3: Enter some Text for "Add quote"
4: Enter some Text for "Add citation"
5: Save Page/Post
6: View the page/post at front side

For better understanding I provide video attachment link.
Video URL : https://share.cleanshot.com/yoxXVomU1svauo5FmF9G

Thanks

Attachments (1)

56525.patch (446 bytes) - added by multidots1896 13 months ago.
added patch

Download all attachments as: .zip

Change History (3)

#1 @hilayt24
13 months ago

  • Keywords reporter-feedback added

Hi @kajalgohel , Thanks for the ticket I checked the issue and able to reproduce it.

Adding the following CSS will solve this issue:

     .wp-block-quote cite {
          font-style: inherit !important;
     }

Thanks
Hilay

#2 @costdev
13 months ago

  • Keywords dev-feedback added; reporter-feedback removed
  • Version changed from 6.0.2 to 6.0

After testing, this was introduced in WordPress 6.0 - more specifically, in Gutenberg 12.9.0. The respective Twenty Eleven styles haven't been changed in 11 years.

I haven't found the exact change in Gutenberg 12.9.0 that broke the Twenty Eleven styling. Having reviewed the PRs relating Pullquote changes, they don't appear relevant to me.

Pinging @ndiego who worked with the Pullquote for Gutenberg 12.9.0. Nick, do you have any thoughts on what caused this and whether this should be an issue on GitHub?

@multidots1896
13 months ago

added patch

Note: See TracTickets for help on using tickets.