Use PHP 7.4 featers and PHP 8 polyfills

This commit is contained in:
David Stone
2025-02-08 13:57:32 -07:00
parent 8bea6067cd
commit b41dc2b2eb
550 changed files with 15270 additions and 14627 deletions

View File

@ -18,9 +18,9 @@
*/
wu_get_template(
'checkout/fields/partials/field-title',
array(
[
'field' => $field,
)
]
);
?>
@ -34,15 +34,15 @@
$form = new \WP_Ultimo\UI\Form(
$field->id,
$field->fields,
array(
[
'views' => 'checkout/fields',
'classes' => 'wu-flex wu-my-1',
'field_wrapper_classes' => 'wu-bg-transparent',
'wrap_tag' => 'span',
'step' => (object) array(
'step' => (object) [
'classes' => '',
),
)
],
]
);
$form->render();
@ -54,9 +54,9 @@
*/
wu_get_template(
'checkout/fields/partials/field-errors',
array(
[
'field' => $field,
)
]
);
?>