[wp-trac] [WordPress Trac] #24523: The "profile" attribute on the head element is obsolete.

WordPress Trac noreply at wordpress.org
Thu Jun 6 20:07:25 UTC 2013


#24523: The "profile" attribute on the head element is obsolete.
--------------------------+-----------------------------
 Reporter:  crashnet      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Template      |    Version:  3.5.1
 Severity:  normal        |   Keywords:  2nd-opinion
--------------------------+-----------------------------
 if you try to validade an HTML5 doc, as HTML5, via validator.w3.org,  you
 get the following error:

 {{{
 Validation Output: 1 Error

  Line 3, Column 39: The profile attribute on the head element is obsolete.
 To declare which meta terms are used in the document, instead register the
 names as meta extensions. To trigger specific UA behaviors, use a link
 element instead.
 <head profile="http://gmpg.org/xfn/11">
 }}}

 <head profile...> comes from /wp-includes/theme-compat/header.php.
 '''Looks like the profile should be registered using META.'''

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24523>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list