WordPress.org

Make WordPress Core

Ticket #20961: 20961.patch

File 20961.patch, 842 bytes (added by SergeyBiryukov, 3 years ago)
  • wp-admin/includes/update.php

     
    264264        $themes_allowedtags = array('a' => array('href' => array(),'title' => array()),'abbr' => array('title' => array()),'acronym' => array('title' => array()),'code' => array(),'em' => array(),'strong' => array()); 
    265265        $theme_name = wp_kses( $theme['Name'], $themes_allowedtags ); 
    266266 
    267         $details_url = self_admin_url("theme-install.php?tab=theme-information&theme=$theme_key&TB_iframe=true&width=600&height=400"); 
     267        $details_url = add_query_arg( array( 'TB_iframe' => 'true', 'width' => 1024, 'height' => 800 ), $current->response[ $theme_key ]['url'] ); 
    268268 
    269269        $wp_list_table = _get_list_table('WP_MS_Themes_List_Table'); 
    270270