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
@@ -22,7 +22,7 @@ function wu_get_roles_as_options($add_default_option = false) {
|
||||
require_once ABSPATH . 'wp-admin/includes/user.php';
|
||||
}
|
||||
|
||||
$roles = array();
|
||||
$roles = [];
|
||||
|
||||
if ($add_default_option) {
|
||||
$roles['default'] = __('Use WP Multisite WaaS default', 'wp-ultimo');
|
||||
|
||||
Reference in new issue
Block a user