diff --git a/modules/aioseop_performance.php b/modules/aioseop_performance.php index 8ed0a1f34..731541071 100644 --- a/modules/aioseop_performance.php +++ b/modules/aioseop_performance.php @@ -220,12 +220,7 @@ function get_serverinfo() { $xml = __( 'No', 'all-in-one-seo-pack' ); } - if ( function_exists( 'wp_get_theme' ) ) { - $theme = wp_get_theme(); - } else { - $theme = get_theme( get_current_theme() ); - } - + $theme = wp_get_theme(); if ( function_exists( 'is_multisite' ) ) { if ( is_multisite() ) {