From 3e76c111b21473ce1f2d2d47429fdcdfea408a2f Mon Sep 17 00:00:00 2001 From: Danny van Kooten Date: Sat, 11 Jan 2025 10:34:42 +0100 Subject: [PATCH] 3rd parameter of replace_in_form_content does not need to be null. closes #791 --- includes/forms/class-form-tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/forms/class-form-tags.php b/includes/forms/class-form-tags.php index 3e4fe6d5..7f0bccbd 100755 --- a/includes/forms/class-form-tags.php +++ b/includes/forms/class-form-tags.php @@ -50,7 +50,7 @@ public function register() } - public function replace_in_form_content($string, MC4WP_Form $form, MC4WP_Form_Element $element = null) + public function replace_in_form_content($string, MC4WP_Form $form, MC4WP_Form_Element $element) { $this->form = $form; $this->form_element = $element;