WordPress.org

Make WordPress Core

Changeset 20812


Ignore:
Timestamp:
05/16/2012 11:38:53 PM (6 years ago)
Author:
koopersmith
Message:

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

Location:
trunk/wp-admin/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-theme-install-list-table.php

    r20811 r20812  
    276276     */
    277277    function theme_installer_single( $theme ) {
    278         $class = 'wp-full-overlay';
    279         if ( $theme )
    280             $class .= ' single-theme';
    281 
    282278        ?>
    283279        <div id="theme-installer" class="wp-full-overlay single-theme">
  • trunk/wp-admin/includes/theme-install.php

    r20639 r20812  
    169169        wp_die( $theme );
    170170
     171    iframe_header( __('Theme Install') );
    171172    $wp_list_table->theme_installer_single( $theme );
     173    iframe_footer();
     174    exit;
    172175}
    173176add_action('install_themes_pre_theme-information', 'install_theme_information');
Note: See TracChangeset for help on using the changeset viewer.