From 9a52a188314e013ddaa201351ea34623480e3c35 Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Mon, 3 Feb 2025 18:24:58 -0600 Subject: [PATCH] Wrap notice content for flex alignment. --- src/wp-includes/functions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 29de7b9660bf9..bf056405b8dbc 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -9083,8 +9083,9 @@ function wp_get_admin_notice( $message, $args = array() ) { * @param string $url URL pointing to the image. * @param array $args The arguments for the admin notice. */ - $url = apply_filters( 'wp_get_admin_notice_icon', $url, $args ); - $img = '' . esc_attr( $label ) . ''; + $url = apply_filters( 'wp_get_admin_notice_icon', $url, $args ); + $img = '' . esc_attr( $label ) . ''; + $message = '
' . $message . '
'; } $markup = sprintf( '
%4$s%5$s
', $id, $classes, $attributes, $img, $message );