From 4bdca50d7a5a1d216cbdbae26c0b39357b941e76 Mon Sep 17 00:00:00 2001 From: Colin Stewart Date: Thu, 14 Sep 2023 05:48:41 +0000 Subject: [PATCH] Administration: Fix erroneous call to `wp_admin()`. In [56573], a typo caused `wp_admin()` to be called rather than `wp_admin_notice()`. This fixes the typo to correctly call `wp_admin_notice()`. Follow-up to [56573]. Props takayukister. See #57791. git-svn-id: https://develop.svn.wordpress.org/trunk@56576 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/edit-comments.php b/src/wp-admin/edit-comments.php index a39aa701de93f..7420942f1c27c 100644 --- a/src/wp-admin/edit-comments.php +++ b/src/wp-admin/edit-comments.php @@ -411,7 +411,7 @@ } } - wp_admin( + wp_admin_notice( implode( "
\n", $messages ), array( 'id' => 'moderated',