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

@ -9,7 +9,7 @@
// Exit if accessed directly
defined('ABSPATH') || exit;
return array(
return [
'day' => __('day', 'wp-ultimo'),
'days' => __('days', 'wp-ultimo'),
'week' => __('week', 'wp-ultimo'),
@ -18,4 +18,4 @@ return array(
'months' => __('months', 'wp-ultimo'),
'year' => __('year', 'wp-ultimo'),
'years' => __('years', 'wp-ultimo'),
);
];