From 61ed1cb48e3a2ad3cb69c298b0860f4694fabb7e Mon Sep 17 00:00:00 2001 From: joedolson Date: Fri, 22 Sep 2023 18:19:19 +0000 Subject: [PATCH] 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 --- wp-admin/upload.php | 11 ----------- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/wp-admin/upload.php b/wp-admin/upload.php index cb6c6cb608..3c48cc9476 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -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( /* translators: %s: List view URL. */ __( 'The grid view for the Media Library requires JavaScript. Switch to the list view.' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 064477ed7f..1c54f8d791 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.