Make WordPress Core

Ticket #38669: 38669.5.diff

File 38669.5.diff, 972 bytes (added by Presskopp, 7 years ago)

Refreshing (and testing)

  • wp-admin/includes/class-wp-comments-list-table.php

     
    200200
    201201                if ( 'moderated' === $comment_status ) {
    202202                        _e( 'No comments awaiting moderation.' );
     203                } elseif ( 'trash' === $comment_status ) {
     204                        _e( 'No comments found in Trash.' );
    203205                } else {
    204206                        _e( 'No comments found.' );
    205207                }
  • wp-admin/includes/class-wp-media-list-table.php

     
    222222        /**
    223223         */
    224224        public function no_items() {
     225                if ( $this->is_trash ) {
     226                        _e( 'No media files found in Trash.' );
     227                } else {
    225228                _e( 'No media files found.' );
    226229        }
    227230