[wp-trac] [WordPress Trac] #52477: Twenty Twenty-One: Typo in style.css – missing `var( … )`

WordPress Trac noreply at wordpress.org
Tue Feb 9 06:23:48 UTC 2021


#52477: Twenty Twenty-One: Typo in style.css – missing `var( … )`
---------------------------+----------------------------------------
 Reporter:  mukesh27       |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:  good-first-bug needs-patch
  Focuses:                 |
---------------------------+----------------------------------------
 In the style.css file of Twenty Twenty One, there is a typo on line 2873:

 p { line-height: var(--wp--typography--line-height, --global--line-height-
 body); }

 The second argument to var is clearly meant to be var(--global--line-
 height-body), not the bare variable name --global--line-height-body. The
 latter is simply an invalid value.

 Normally I would file this kind of thing as a ticket or issue in the
 source control repository, but I couldn’t find a way to do that. I hope
 this gets the attention of someone who has the power to fix it!

 props to @acerempel for support ticket -
 https://wordpress.org/support/topic/typo-in-style-css-missing-var/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52477>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list