Update and fix failing tests

MAILPOET-6323
This commit is contained in:
Oluwaseun Olorunsola
2025-01-23 20:24:12 +01:00
committed by Oluwaseun Olorunsola
parent bd266ed403
commit f20237ab1c
3 changed files with 6 additions and 6 deletions

View File

@@ -288,7 +288,7 @@ class Email_Editor {
add_filter(
'mailpoet_email_editor_preview_post_template_html',
function ( $post ) {
function () use ( $post ) {
// Generate HTML content for email editor post.
return $this->send_preview_email->render_html( $post );
}