Administration: Remove duplicate `wp_admin_notice()` call.

Remove duplicate success message displayed in `wp-admin/upload.php`. Follow up to [56573].

Props davidbinda.
See #57791.
Built from https://develop.svn.wordpress.org/trunk@56663


git-svn-id: http://core.svn.wordpress.org/trunk@56175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson 2023-09-22 18:19:19 +00:00
parent 4b17383d2c
commit 61ed1cb48e
2 changed files with 1 additions and 12 deletions

View File

@ -230,17 +230,6 @@ if ( 'grid' === $mode ) {
); );
} }
if ( ! empty( $message ) ) {
wp_admin_notice(
$message,
array(
'id' => 'message',
'additional_classes' => array( 'updated' ),
'dismissible' => true,
)
);
}
$js_required_message = sprintf( $js_required_message = sprintf(
/* translators: %s: List view URL. */ /* translators: %s: List view URL. */
__( 'The grid view for the Media Library requires JavaScript. <a href="%s">Switch to the list view</a>.' ), __( 'The grid view for the Media Library requires JavaScript. <a href="%s">Switch to the list view</a>.' ),

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.4-alpha-56662'; $wp_version = '6.4-alpha-56663';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.