Skip to content

Commit

Permalink
3rd parameter of replace_in_form_content does not need to be null. cl…
Browse files Browse the repository at this point in the history
…oses #791
  • Loading branch information
dannyvankooten committed Jan 11, 2025
1 parent 804aa8d commit 3e76c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/forms/class-form-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3e76c11

Please sign in to comment.