[wp-trac] [WordPress Trac] #35195: CSS links in footer should have a property attribute

WordPress Trac noreply at wordpress.org
Tue Dec 22 07:31:48 UTC 2015


#35195: CSS links in footer should have a property attribute
---------------------------+-----------------------------
 Reporter:  cyman          |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Script Loader  |    Version:  4.4
 Severity:  normal         |   Keywords:
  Focuses:  performance    |
---------------------------+-----------------------------
 Hi,

 The `<link>` tags printed by
 [https://developer.wordpress.org/reference/functions/print_late_styles/
 print_late_styles] in footer are invalid by W3 validator:

 `Element link is missing required attribute property.`

 Workaround for this would be to include the `propery="stylesheet"` (or
 similar, let's discuss) to the `<link>` elements printed by
 print_late_styles: [http://stackoverflow.com/questions/18549726/element-
 link-is-missing-required-attribute-property]

 I can prepare a patch file if this would be a suitable candidate for
 merge.

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


More information about the wp-trac mailing list