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-list-table.php

    r33623 r33662  
    648648                                $pending_comments_number,
    649649                                $pending_phrase
     650                        );
     651                } else {
     652                        printf( '<span class="post-com-count post-com-count-pending"><span class="comment-count comment-count-no-pending" aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></span>',
     653                                $pending_comments_number,
     654                                $approved_comments ? __( 'No pending comments' ) : __( 'No comments' )
    650655                        );
    651656                }
Note: See TracChangeset for help on using the changeset viewer.