Use PHP 7.4 featers and PHP 8 polyfills
This commit is contained in:
1 parent
8bea6067cd
commit
b41dc2b2eb
550 files changed
+15270
-14627
No files matched your search
@@ -35,7 +35,7 @@ class Base_Installer {
|
||||
*/
|
||||
public function get_steps() {
|
||||
|
||||
return array();
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -75,7 +75,7 @@ class Base_Installer {
|
||||
|
||||
global $wpdb;
|
||||
|
||||
$callable = array($this, "_install_{$installer}");
|
||||
$callable = [$this, "_install_{$installer}"];
|
||||
|
||||
$callable = apply_filters("wu_installer_{$installer}_callback", $callable, $installer);
|
||||
|
||||
|
||||
Reference in new issue
Block a user