mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
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:
parent
4b17383d2c
commit
61ed1cb48e
@ -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. <a href="%s">Switch to the list view</a>.' ),
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user