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:
parent
e1b622244d
commit
f54ef8f442
|
@ -411,7 +411,7 @@ if ( isset( $_REQUEST['approved'] )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
wp_admin(
|
wp_admin_notice(
|
||||||
implode( "<br />\n", $messages ),
|
implode( "<br />\n", $messages ),
|
||||||
array(
|
array(
|
||||||
'id' => 'moderated',
|
'id' => 'moderated',
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue