Use PHP 7.4 featers and PHP 8 polyfills
This commit is contained in:
@ -19,7 +19,7 @@ defined('ABSPATH') || exit;
|
||||
*/
|
||||
function wu_extract_number($str) {
|
||||
|
||||
$matches = array();
|
||||
$matches = [];
|
||||
|
||||
preg_match_all('/\d+/', $str, $matches);
|
||||
|
||||
|
Reference in New Issue
Block a user