[wp-trac] [WordPress Trac] #54196: Twenty Twenty: Inline style class names are duplicated

WordPress Trac noreply at wordpress.org
Tue Sep 28 06:20:38 UTC 2021


#54196: Twenty Twenty: Inline style class names are duplicated
---------------------------+-----------------------------
 Reporter:  tmatsuur       |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:  css            |
---------------------------+-----------------------------
 In version 1.8 of the Twenty Twenty theme, ".has-drop-cap:not(:focus
 )::first-letter" is duplicated in the inline style output of the front-end
 in the Japanese environment.

 Line 121 of /classes/class-twentytwenty-non-latin-languages.php:

 {{{
 'front-end'      => array( 'body', ... '.wp-block-file__button', '.has-
 drop-cap:not(:focus)::first-letter', '.has-drop-cap:not(:focus)::first-
 letter', ... ),
 }}}

 If the second one is a typo, you may want to remove it.

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


More information about the wp-trac mailing list