Removed legacy code for WP prior to 4.6

Statify itself requires WP 4.7, so no reason to stick to legacy code
anymore.
This commit is contained in:
2018-03-21 18:16:25 +01:00
parent 66ddada63e
commit 8c556ca509
4 changed files with 7 additions and 7 deletions

View File

@ -31,9 +31,6 @@ class StatifyBlacklist_System extends StatifyBlacklist {
if ( $network_wide && is_multisite() ) {
if ( function_exists( 'get_sites' ) ) {
$sites = get_sites();
} elseif ( function_exists( 'wp_get_sites' ) ) {
// @codingStandardsIgnoreLine Legacy support for WP < 4.6.
$sites = wp_get_sites();
} else {
return;
}