mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
ec47a8f85f
commit
4bdca50d7a
@ -411,7 +411,7 @@ if ( isset( $_REQUEST['approved'] )
|
||||
}
|
||||
}
|
||||
|
||||
wp_admin(
|
||||
wp_admin_notice(
|
||||
implode( "<br />\n", $messages ),
|
||||
array(
|
||||
'id' => 'moderated',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user