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. git-svn-id: https://develop.svn.wordpress.org/trunk@29655 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1f2ff1d3f3
commit
14313673d5
@ -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…
x
Reference in New Issue
Block a user