Use PHP 7.4 featers and PHP 8 polyfills
This commit is contained in:
@ -86,10 +86,10 @@
|
||||
<?php
|
||||
echo wu_get_form_url(
|
||||
'add_new_form_field',
|
||||
array(
|
||||
[
|
||||
'checkout_form' => $checkout_form,
|
||||
'step' => '',
|
||||
)
|
||||
]
|
||||
);
|
||||
?>
|
||||
=' + step_name + '&field=' + field.id"
|
||||
|
@ -47,9 +47,9 @@
|
||||
<?php
|
||||
echo wu_get_form_url(
|
||||
'add_new_form_step',
|
||||
array(
|
||||
[
|
||||
'checkout_form' => $checkout_form,
|
||||
)
|
||||
]
|
||||
);
|
||||
?>
|
||||
"
|
||||
@ -173,10 +173,10 @@
|
||||
<?php
|
||||
echo wu_get_form_url(
|
||||
'add_new_form_step',
|
||||
array(
|
||||
[
|
||||
'checkout_form' => $checkout_form,
|
||||
'step' => '',
|
||||
)
|
||||
]
|
||||
);
|
||||
?>
|
||||
=' + step.id"
|
||||
@ -195,11 +195,11 @@
|
||||
<?php
|
||||
echo wu_get_form_url(
|
||||
'add_new_form_field',
|
||||
array(
|
||||
[
|
||||
'checkout_form' => $checkout_form,
|
||||
'width' => 600,
|
||||
'step' => '',
|
||||
)
|
||||
]
|
||||
);
|
||||
?>
|
||||
=' + step.id"
|
||||
@ -313,9 +313,9 @@
|
||||
<?php
|
||||
echo wu_get_form_url(
|
||||
'add_new_form_step',
|
||||
array(
|
||||
[
|
||||
'checkout_form' => $checkout_form,
|
||||
)
|
||||
]
|
||||
);
|
||||
?>
|
||||
"
|
||||
|
Reference in New Issue
Block a user