diff --git a/includes/modules/sitemap/settings/authors.php b/includes/modules/sitemap/settings/authors.php index 0877d81..c399d07 100644 --- a/includes/modules/sitemap/settings/authors.php +++ b/includes/modules/sitemap/settings/authors.php @@ -6,9 +6,8 @@ * @subpackage Classic_SEO\Sitemap */ -use Classic_SEO\Helpers\WordPress; +$roles = (new class { use Classic_SEO\Helpers\WordPress; })::get_roles(); -$roles = WordPress::get_roles(); $default = $roles; unset( $default['administrator'], $default['editor'], $default['author'] );