Make WordPress Core


Ignore:
Timestamp:
08/20/2015 04:35:21 PM (11 years ago)
Author:
wonderboymusic
Message:

Comment List Tables:

  • Ensure that dynamic bubble counts are in sync by comment_post_ID
  • Scope :animated to #the-comment-list

See #11200.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r33657 r33662  
    412412                <?php
    413413                        $this->items = $this->extra_items;
    414                         $this->display_rows_or_placeholder(); 
     414                        $this->display_rows_or_placeholder();
    415415                ?>
    416416        </tbody>
    … …  
    699699                $post_type_object = get_post_type_object( $post->post_type );
    700700                echo "<a href='" . get_permalink( $post->ID ) . "' class='comments-view-item-link'>" . $post_type_object->labels->view_item . '</a>';
    701                 echo '<span class="post-com-count-wrapper">';
     701                echo '<span class="post-com-count-wrapper post-com-count-', $post->ID, '">';
    702702                $this->comments_bubble( $post->ID, $pending_comments );
    703703                echo '</span> ';
Note: See TracChangeset for help on using the changeset viewer.