WordPress.org

Make WordPress Core

Ticket #16659: class-wp-upgrader.php.diff

File class-wp-upgrader.php.diff, 1.0 KB (added by tetele, 7 years ago)

Patch

  • wp-admin/includes/class-wp-upgrader.php

     
    13491349                $stylesheet = $this->upgrader->result['destination_name'];
    13501350                $template = !empty($theme_info['Template']) ? $theme_info['Template'] : $stylesheet;
    13511351
    1352                 $preview_link = htmlspecialchars( add_query_arg( array('preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'TB_iframe' => 'true' ), trailingslashit(esc_url(get_option('home'))) ) );
     1352                $preview_link = htmlspecialchars( add_query_arg( array('preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'preview_iframe' => 1, 'TB_iframe' => 'true' ), trailingslashit(esc_url(get_option('home'))) ) );
    13531353                $activate_link = wp_nonce_url("themes.php?action=activate&template=" . urlencode($template) . "&stylesheet=" . urlencode($stylesheet), 'switch-theme_' . $template);
    13541354
    13551355                $install_actions = array(