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.
Built from https://develop.svn.wordpress.org/trunk@56576


git-svn-id: http://core.svn.wordpress.org/trunk@56088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
costdev 2023-09-14 05:50:20 +00:00
parent e1b622244d
commit f54ef8f442
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.4-alpha-56575';
$wp_version = '6.4-alpha-56576';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.