Media grid: Don't show a misleading message for an empty library.
This uses the existing string from the list table. We should revisit a better overall experience for the two situations (empty library vs. search with no results) in 4.1. props voldemortensen. fixes #29404. Built from https://develop.svn.wordpress.org/trunk@29655 git-svn-id: http://core.svn.wordpress.org/trunk@29429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
446cdf72ee
commit
72593add22
|
@ -3020,7 +3020,7 @@ function wp_enqueue_media( $args = array() ) {
|
|||
|
||||
// Media Library
|
||||
'editMetadata' => __( 'Edit Metadata' ),
|
||||
'noMedia' => __( 'No media found. Try a different search.' ),
|
||||
'noMedia' => __( 'No media attachments found.' ),
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue