Skip to content

Commit

Permalink
Administration: Fix erroneous call to wp_admin().
Browse files Browse the repository at this point in the history
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
  • Loading branch information
costdev committed Sep 14, 2023
1 parent ec47a8f commit 4bdca50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-admin/edit-comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@
}
}

wp_admin(
wp_admin_notice(
implode( "<br />\n", $messages ),
array(
'id' => 'moderated',
Expand Down

0 comments on commit 4bdca50

Please sign in to comment.