Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/justintadlock/hybrid-core in…
Browse files Browse the repository at this point in the history
…to dev
  • Loading branch information
Justin Tadlock committed Aug 14, 2015
2 parents 386ad1f + f869235 commit debe31b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inc/functions-attr.php
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ function hybrid_attr_comment( $attr ) {

$attr['itemprop'] = 'comment';
$attr['itemscope'] = 'itemscope';
$attr['itemtype'] = 'http://schema.org/UserComments';
$attr['itemtype'] = 'http://schema.org/Comment';
}

return $attr;
Expand All @@ -575,7 +575,7 @@ function hybrid_attr_comment( $attr ) {
function hybrid_attr_comment_author( $attr ) {

$attr['class'] = 'comment-author';
$attr['itemprop'] = 'creator';
$attr['itemprop'] = 'author';
$attr['itemscope'] = 'itemscope';
$attr['itemtype'] = 'http://schema.org/Person';

Expand All @@ -597,7 +597,7 @@ function hybrid_attr_comment_published( $attr ) {

// Translators: Comment date/time "title" attribute.
$attr['title'] = get_comment_time( _x( 'l, F j, Y, g:i a', 'comment time format', 'hybrid-core' ) );
$attr['itemprop'] = 'commentTime';
$attr['itemprop'] = 'datePublished';

return $attr;
}
Expand Down Expand Up @@ -630,7 +630,7 @@ function hybrid_attr_comment_permalink( $attr ) {
function hybrid_attr_comment_content( $attr ) {

$attr['class'] = 'comment-content';
$attr['itemprop'] = 'commentText';
$attr['itemprop'] = 'text';

return $attr;
}

0 comments on commit debe31b

Please sign in to comment.