diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index 6bb31a7bb0..08547ce1b5 100644 --- a/wp-includes/media-template.php +++ b/wp-includes/media-template.php @@ -375,7 +375,13 @@ function wp_print_media_templates() {

' . __( 'The Edit Media screen is deprecated as of WordPress 6.3. Please use the Media Library instead.' ) . '

'; + wp_admin_notice( + __( 'The Edit Media screen is deprecated as of WordPress 6.3. Please use the Media Library instead.' ), + array( + 'id' => 'message', + 'additional_classes' => array( 'error' ), + ) + ); } ?>

diff --git a/wp-includes/version.php b/wp-includes/version.php index 239e141634..a48737a57e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56596'; +$wp_version = '6.4-alpha-56597'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-widget-media-audio.php b/wp-includes/widgets/class-wp-widget-media-audio.php index 597ca2792d..d7bffd2648 100644 --- a/wp-includes/widgets/class-wp-widget-media-audio.php +++ b/wp-includes/widgets/class-wp-widget-media-audio.php @@ -189,13 +189,25 @@ class WP_Widget_Media_Audio extends WP_Widget_Media { ?>