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

@ -10,10 +10,10 @@
$order_form = new \WP_Ultimo\UI\Form(
'product-fields',
$product_fields,
array(
[
'title' => __('Products', 'wp-ultimo'),
'views' => 'checkout/fields',
)
]
);
/**
@ -29,7 +29,7 @@
*
* @since 2.0.0
*/
$submit = new \WP_Ultimo\UI\Form('submit-fields', $submit_fields, array('views' => 'checkout/fields'));
$submit = new \WP_Ultimo\UI\Form('submit-fields', $submit_fields, ['views' => 'checkout/fields']);
/**
* Render form fields.