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

@ -19,7 +19,7 @@ defined('ABSPATH') || exit;
*/
function wu_extract_number($str) {
$matches = array();
$matches = [];
preg_match_all('/\d+/', $str, $matches);