Ticket #1819: 1819.patch
File 1819.patch, 2.3 KB (added by , 9 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php
136 136 137 137 <li id="comment-<?php comment_ID(); ?>" <?php comment_class( $comment_class ); ?>> 138 138 <article id="div-comment-<?php comment_ID(); ?>" class="comment-body"> 139 <a href="#comment-content-<?php echo $comment->comment_ID; ?>" class="screen-reader-text"><?php _e( 'Skip to note content', 'wporg' ); ?></a> 139 140 <header class="comment-meta"> 140 141 <?php DevHub_User_Contributed_Notes_Voting::show_voting(); ?> 141 142 <div class="comment-author vcard"> … … 184 185 </header> 185 186 <!-- .comment-metadata --> 186 187 187 <div class="comment-content" >188 <div class="comment-content" id="comment-content-<?php echo $comment->comment_ID; ?>"> 188 189 <?php comment_text(); ?> 189 190 </div> 190 191 <!-- .comment-content --> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/user-content-voting.php
296 296 } 297 297 echo '">'; 298 298 echo '<span class="dashicons dashicons-arrow-up"></span>'; 299 echo '<span class="screen-reader-text">' . $title . '</span>'; 299 300 echo "</{$tag}>"; 300 301 301 302 // Total count … … 307 308 echo '<span ' 308 309 . 'class="user-note-voting-count ' . esc_attr( $class ) . '" ' 309 310 . 'title="' . esc_attr( $title ) . '">' 311 . '<span class="screen-reader-text">' . __( 'Vote results for this note: ', 'wporg' ) . '</span>' 310 312 . self::count_votes( $comment_id, 'difference' ) 311 313 . '</span>'; 312 314 … … 334 336 } 335 337 echo '">'; 336 338 echo '<span class="dashicons dashicons-arrow-down"></span>'; 339 echo '<span class="screen-reader-text">' . $title . '</span>'; 337 340 echo "</{$tag}>"; 338 341 339 342 echo '</div>';