mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Administration: Standardize "found in Trash" messages.
Props Presskopp, audrasjb. Fixes #38669. git-svn-id: https://develop.svn.wordpress.org/trunk@47234 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -222,7 +222,11 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||
/**
|
||||
*/
|
||||
public function no_items() {
|
||||
_e( 'No media files found.' );
|
||||
if ( $this->is_trash ) {
|
||||
_e( 'No media files found in Trash.' );
|
||||
} else {
|
||||
_e( 'No media files found.' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user