[wp-trac] [WordPress Trac] #48038: WordPress Not Producing Valide HTML - W3C Validation

WordPress Trac noreply at wordpress.org
Sat Sep 14 09:36:50 UTC 2019


#48038: WordPress Not Producing Valide HTML - W3C Validation
---------------------------+---------------------------------------
 Reporter:  pietergerrits  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Script Loader  |    Version:  5.2.3
 Severity:  normal         |   Keywords:  needs-testing needs-patch
  Focuses:                 |
---------------------------+---------------------------------------
 Hi Devs, I did search the bug tracker and found more tickets that were
 made that have the same errors. I will list these below.

 The problem is that every theme that is active and checked for valid HTML
 is still giving notices. I really like to not use any tricks like the
 other person did to buffer_output every page as this might produce some
 lag in speed and in rendering each page.

 You only need <HTML Tag Id="The_data"> I think... All the HTML tags that
 have a description like CSS or <type attribute> for the style element
 (specially inline styles) should be removed from header.php or any php
 file that is outputting this code in the lines in HTML source.

 This was the tip I got from someone that has done some programming work at
 W3C.

 Maybe this will be fixed in the next WP Version. I still like to bring
 this to your attention.

 I found this having the same issue:
 https://core.trac.wordpress.org/ticket/47643

 Thanks for taking a look at it.

 Have a good day!

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


More information about the wp-trac mailing list