Make WordPress Core

Opened 17 months ago

Last modified 17 months ago

#55590 new defect (bug)

Twenty Twenty Two - Single Post Comment Form Button Font Family

Reported by: kafleg's profile kafleg Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.9
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description

In TT2 theme, the font of the Post Comment button of the comment form in the single post is different than others. Added a CSS code to fix that.

https://github.com/WordPress/wordpress-develop/pull/2606

Change History (4)

#1 @costdev
17 months ago

  • Version changed from trunk to 5.9

Test Report

Environment

  • Server: Apache (Linux)
  • WordPress: 6.0-beta3-53290-src
  • Browser: Chrome 100.0.4896.127
  • OS: Windows 10
  • Theme: Twenty Twenty-Two
  • Plugins: None activated.

Steps

  1. Visit a single post.
  2. Notice that the font of the "Post Comment" button is different than other fonts. ✅
  3. Apply PR 2606.
  4. Notice that the font of the "Post Comment" button is now the same as other fonts. ✅

Results

  1. Issue reproduced. ✅
  2. PR 2606 resolves the issue. ✅

#2 @costdev
17 months ago

  • Keywords has-patch added; needs-testing removed

#3 @jffng
17 months ago

Hi @kafleg thanks for the ticket and PR. Instead of CSS, could we add this via theme.json instead under styles > blocks > core/button > typography > fontFamily?

This ticket was mentioned in PR #2606 on WordPress/wordpress-develop by kafleg.


17 months ago
#4

In TT2 theme, the font of the Post Comment button of the comment form in the single post is different than others. Added a CSS code to fix that.

Trac ticket: https://core.trac.wordpress.org/ticket/55590

Note: See TracTickets for help on using tickets.