Administration: Standardize "found in Trash" messages.
Props Presskopp, audrasjb. Fixes #38669. Built from https://develop.svn.wordpress.org/trunk@47234 git-svn-id: http://core.svn.wordpress.org/trunk@47034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a6949956d1
commit
4f151b577e
|
@ -200,6 +200,8 @@ class WP_Comments_List_Table extends WP_List_Table {
|
|||
|
||||
if ( 'moderated' === $comment_status ) {
|
||||
_e( 'No comments awaiting moderation.' );
|
||||
} elseif ( 'trash' === $comment_status ) {
|
||||
_e( 'No comments found in Trash.' );
|
||||
} else {
|
||||
_e( 'No comments found.' );
|
||||
}
|
||||
|
|
|
@ -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.' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-47233';
|
||||
$wp_version = '5.4-alpha-47234';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue