[wp-trac] [WordPress Trac] #56675: Extra spaces appear in css queue

WordPress Trac noreply at wordpress.org
Wed Sep 28 02:00:48 UTC 2022


#56675: Extra spaces appear in css queue
------------------------------+-----------------------------
 Reporter:  elten             |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Formatting        |    Version:  6.0.2
 Severity:  minor             |   Keywords:
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 In the css queue, there are two spaces between “id” and “href”, also have
 this problem in wordpress.org.

 {{{
 <link rel='stylesheet' id='wporg-global-fonts-css'
 href='https://wordpress.org/wp-content/mu-plugins/pub-sync/global-
 fonts/style.css?ver=1663691227' media='all' />
 <link rel='stylesheet' id='wporg-parent-2021-style-css'
 href='https://wordpress.org/wp-content/themes/wporg-
 parent-2021/build/style.css?ver=1660938306' media='all' />
 <link rel='stylesheet' id='wporg-main-2022-style-css'
 href='https://wordpress.org/wp-content/themes/wporg-main-2022/build/style
 /style-index.css?ver=1663690308' media='all' />
 <link rel='stylesheet' id='wporg-parent-block-styles-css'
 href='https://wordpress.org/wp-content/themes/wporg-parent-2021/build
 /block-styles.css?ver=1661271656' media='all' />
 <link rel='stylesheet' id='wporg-global-header-footer-css'
 href='https://wordpress.org/wp-content/mu-plugins/pub-sync/blocks/global-
 header-footer/build/style.css?ver=1664222912' media='all' />
 }}}

 [[Image(https://i.postimg.cc/6QJP1Ypp/wp.png)]]

 ==========

 WordPress version : 6.0.2
 Appears after loading the css queue ( use wp_enqueue_style() ) .
 The problem has nothing to do with templates.

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


More information about the wp-trac mailing list