[wp-trac] [WordPress Trac] #65253: Superfluous whitespace in comment cookie consent markup

WordPress Trac noreply at wordpress.org
Thu Jun 4 11:40:06 UTC 2026


#65253: Superfluous whitespace in comment cookie consent markup
--------------------------------------+------------------------
 Reporter:  zodiac1978                |       Owner:  desrosj
     Type:  defect (bug)              |      Status:  reviewing
 Priority:  normal                    |   Milestone:  7.1
Component:  Comments                  |     Version:  5.3
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+------------------------
Changes (by desrosj):

 * owner:  masteradhoc => desrosj
 * status:  assigned => reviewing


Comment:

 I was discussing this with @zodiac1978 today at WCEU Contributor Day.

 The change itself makes sense. I'd like to confirm that all of the default
 themes will not be adversely effected by this. If someone could test this,
 that would be great.

 We also need to be careful because themes have updated their CSS
 accordingly, so I agree with @zodiac1978's tagging of this as `needs-dev-
 note`. He is going to look at drafting one so we can publish that once
 this change is made. The best recommendation would likely be some form of
 calling `wp_add_inline_style()` wrapped in an `if ( version_compare() )`
 checking for `<= 7.1` but `>= 5.3` to output the styles required to
 properly space after the problematic change and before the fix.

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


More information about the wp-trac mailing list