[wp-trac] [WordPress Trac] #23952: Markup improvements to wp-admin/file.php and wp-admin/media.php

WordPress Trac noreply at wordpress.org
Fri Apr 5 19:26:14 UTC 2013


#23952: Markup improvements to wp-admin/file.php and wp-admin/media.php
------------------------------------+------------------------------
 Reporter:  johnjamesjacoby         |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  low                     |   Milestone:  Awaiting Review
Component:  General                 |     Version:
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------
Changes (by ocean90):

 * milestone:  3.6 => Awaiting Review


Comment:

 Since we have a HTML5 doctype the `div` in a `th` is valid. The content
 model of a `th` element is "[http://www.w3.org/TR/html5/tabular-data.html
 #the-th-element Flow content, but with no header, footer, sectioning
 content, or heading content descendants]" and a `div` is
 [http://www.w3.org/TR/html5/grouping-content.html#the-div-element an
 element of the flow content] category.

 The `//<![CDATA[` inside of `<script>` aren't needed here too. It's more
 for XHTML.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23952#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list