WordPress Version: 6.1
/**
* Displays error message at bottom of comments.
*
* @param string $msg Error Message. Assumed to contain HTML and be sanitized.
*/
function comment_footer_die($msg)
{
echo "<div class='wrap'><p>{$msg}</p></div>";
require_once ABSPATH . 'wp-admin/admin-footer.php';
die;
}