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. git-svn-id: https://develop.svn.wordpress.org/trunk@24539 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1ac726b616
commit
925e2f67ee
|
@ -1446,7 +1446,7 @@ class Walker_Comment extends Walker {
|
||||||
<footer class="comment-meta">
|
<footer class="comment-meta">
|
||||||
<div class="comment-author vcard">
|
<div class="comment-author vcard">
|
||||||
<?php if ( 0 != $args['avatar_size'] ) echo get_avatar( $comment, $args['avatar_size'] ); ?>
|
<?php if ( 0 != $args['avatar_size'] ) echo get_avatar( $comment, $args['avatar_size'] ); ?>
|
||||||
<?php printf( __( '%s <span class="says">says:</span>' ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); ?>
|
<?php printf( __( '%s <span class="says">says:</span>' ), sprintf( '<b class="fn">%s</b>', get_comment_author_link() ) ); ?>
|
||||||
</div><!-- .comment-author -->
|
</div><!-- .comment-author -->
|
||||||
|
|
||||||
<div class="comment-metadata">
|
<div class="comment-metadata">
|
||||||
|
|
Loading…
Reference in New Issue