mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Comment List Tables:
* Ensure that dynamic bubble counts are in sync by `comment_post_ID` * Scope `:animated` to `#the-comment-list` See #11200. git-svn-id: https://develop.svn.wordpress.org/trunk@33662 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -411,7 +411,7 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
<tbody id="the-extra-comment-list" data-wp-lists="list:comment" style="display: none;">
|
||||
<?php
|
||||
$this->items = $this->extra_items;
|
||||
$this->display_rows_or_placeholder();
|
||||
$this->display_rows_or_placeholder();
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
@@ -698,7 +698,7 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
echo $post_link;
|
||||
$post_type_object = get_post_type_object( $post->post_type );
|
||||
echo "<a href='" . get_permalink( $post->ID ) . "' class='comments-view-item-link'>" . $post_type_object->labels->view_item . '</a>';
|
||||
echo '<span class="post-com-count-wrapper">';
|
||||
echo '<span class="post-com-count-wrapper post-com-count-', $post->ID, '">';
|
||||
$this->comments_bubble( $post->ID, $pending_comments );
|
||||
echo '</span> ';
|
||||
echo '</div>';
|
||||
|
||||
Reference in New Issue
Block a user