jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Jetpack causes warning on W3 Nu HTML Checker validation

Open JeffersonReal opened this issue 4 years ago • 2 comments

Impacted plugin

Jetpack

Steps to Reproduce

Install Jetpack, validate any page at https://validator.w3.org/

The culprit is this line here which I've read to understand is some weird old hacky stat-collecting mechanism.

<style type='text/css'>img#wpstats{display:none}</style>

Please can the "type='text/css'" be removed as it's not required.

A clear and concise description of what you expected to happen.

Nice, clean valid HTML with no iffy bits at all.

What actually happened

There is an iffy bit.

Other information

Where has the ‘hide the stats smiley face image’ gone?

Operating System

Linux

OS Version

Debian 11 Stable

Browser

Chrome/Chromium

Browser Version(s)

100

JeffersonReal avatar May 18 '22 22:05 JeffersonReal

@bigupjeff Thanks for the report! We removed it and it'll be in the release scheduled to go out on the first Tuesday of June.

kraftbj avatar May 19 '22 14:05 kraftbj

@kraftbj Awesome, thank you! My W3 validator OCD can rest easy now 😁

JeffersonReal avatar May 19 '22 20:05 JeffersonReal