[wp-trac] [WordPress Trac] #56194: Twenty Twenty: text-transform issue in H6 Heading block

WordPress Trac noreply at wordpress.org
Wed Aug 10 19:17:11 UTC 2022


#56194: Twenty Twenty: text-transform issue in H6 Heading block
-------------------------------------+----------------------
 Reporter:  kajalgohel               |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.1
Component:  Bundled Theme            |     Version:  5.5
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  ui, css
-------------------------------------+----------------------
Changes (by sabernhardt):

 * keywords:  has-patch needs-refresh => has-patch needs-testing


Comment:

 The `text-transform` property was a design decision, so it needs to stay
 that way in the theme. Anyone who does not appreciate it probably has
 switched the theme or worked around that style by now (in the Additional
 CSS or a child theme, or by using the Letter case block setting).

 [attachment:"56194.3.patch"] removes `.wp-block` from heading selectors in
 the 'block-editor' array of
 `twentytwenty_get_localized_font_family_elements`. The 'front-end' array
 needs updating, too, but that is not exactly related.

 This patch should also help on #56360.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56194#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list