Theme Installer: Prevent unnecessary admin code from printing and print markup in correct order. Remove dead code. props ocean90, fixes #20695.

git-svn-id: https://develop.svn.wordpress.org/trunk@20812 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-05-16 23:38:53 +00:00
parent 3ae49bd759
commit b4277fcd40
2 changed files with 3 additions and 4 deletions
+3
View File
@@ -168,6 +168,9 @@ function install_theme_information() {
if ( is_wp_error( $theme ) )
wp_die( $theme );
iframe_header( __('Theme Install') );
$wp_list_table->theme_installer_single( $theme );
iframe_footer();
exit;
}
add_action('install_themes_pre_theme-information', 'install_theme_information');