remove deprecated wp_get_sites() call from uninstall routine

We only support WP 4.7 and later since 1.5. Remove the 4.6 call.
This commit is contained in:
Stefan Kalscheuer 2024-03-16 12:23:32 +01:00
parent 6f4b1722bf
commit 6003a0d397
Signed by: stefan
GPG Key ID: 3887EC2A53B55430

View File

@ -89,9 +89,6 @@ class StatifyBlacklist_System extends StatifyBlacklist {
if ( function_exists( 'get_sites' ) ) {
$sites = get_sites();
} elseif ( function_exists( 'wp_get_sites' ) ) {
// phpcs:ignore WordPress.WP.DeprecatedFunctions.wp_get_sitesFound -- Legacy support for WP < 4.6.
$sites = wp_get_sites();
} else {
return;
}