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

WordPress Trac noreply at wordpress.org
Wed Sep 28 07:46:04 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         |  Resolution:
 Keywords:  needs-patch   |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by audrasjb):

 * keywords:   => needs-patch


Comment:

 Hello, welcome to WordPress Core Trac and thank you for opening this
 ticket!

 The issue comes from [https://github.com/WordPress/wordpress-
 develop/blob/trunk/src/wp-includes/class-wp-styles.php#L230 this line].
 When the third `%s` placeholder is empty, two spaces are printed.

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


More information about the wp-trac mailing list