WordPress.org

Make WordPress Core

Changeset 35726


Ignore:
Timestamp:
11/22/2015 03:22:38 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Comments: After [35670], change the CSS class for the pending comments count back to moderated.

Fixes #34680.

File:
1 edited

Legend:

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

    r35674 r35726  
    264264                translate_nooped_plural( $label, $num_comments->$status ),
    265265                sprintf( '<span class="%s-count">%s</span>',
    266                     $status,
     266                    ( 'moderated' === $status ) ? 'pending' : $status,
    267267                    number_format_i18n( $num_comments->$status )
    268268                )
Note: See TracChangeset for help on using the changeset viewer.