Skip to content

Commit

Permalink
remove deprecated get_current_theme
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltorbert committed Jun 19, 2016
1 parent 5ec40b5 commit 22eb4d9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions modules/aioseop_performance.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() ) {
Expand Down

0 comments on commit 22eb4d9

Please sign in to comment.