WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/10/2020 04:56:01 AM (12 months ago)
Author:
SergeyBiryukov
Message:

Administration: Standardize "found in Trash" messages.

Props Presskopp, audrasjb.
Fixes #38669.

File:
1 edited

Legend:

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

    r47219 r47234  
    223223     */
    224224    public function no_items() {
    225         _e( 'No media files found.' );
     225        if ( $this->is_trash ) {
     226            _e( 'No media files found in Trash.' );
     227        } else {
     228            _e( 'No media files found.' );
     229        }
    226230    }
    227231
Note: See TracChangeset for help on using the changeset viewer.