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
This commit is contained in:
Colin Stewart 2023-09-14 05:48:41 +00:00
parent ec47a8f85f
commit 4bdca50d7a

View File

@ -411,7 +411,7 @@ if ( isset( $_REQUEST['approved'] )
}
}
wp_admin(
wp_admin_notice(
implode( "<br />\n", $messages ),
array(
'id' => 'moderated',