[wp-trac] [WordPress Trac] #24522: Remove the cite element from comment_html5()

WordPress Trac noreply at wordpress.org
Mon Jul 1 18:26:18 UTC 2013


#24522: Remove the cite element from comment_html5()
--------------------------+----------------------
 Reporter:  ocean90       |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.6
Component:  Comments      |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+----------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"24539"]:
 {{{
 #!CommitTicketReference repository="" revision="24539"
 Replace the `cite` element with a `b` element to markup the comment author
 in comment_html5().

 In HTML5 the `cite` element isn't valid for just an author's name.
 "The cite element represents the title of a work [..] A person's name is
 not the title of a work" (http://www.w3.org/TR/html5/text-level-
 semantics.html#the-cite-element)

 fixed #24522.
 }}}

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


More information about the wp-trac mailing list