Ticket #34763: 34763.3.diff
File 34763.3.diff, 1.9 KB (added by , 9 years ago) |
---|
-
wp-admin/includes/class-wp-upgrader-skins.php
225 225 $this->plugin = $this->upgrader->plugin_info(); 226 226 if ( !empty($this->plugin) && !is_wp_error($this->result) && $this->plugin_active ){ 227 227 // Currently used only when JS is off for a single plugin update? 228 echo '<iframe title="' . esc_attr ( 'Update progress' ) . '" style="border:0;overflow:hidden" width="100%" height="170" src="' . wp_nonce_url( 'update.php?action=activate-plugin&networkwide=' . $this->plugin_network_active . '&plugin=' . urlencode( $this->plugin ), 'activate-plugin_' . $this->plugin ) . '"></iframe>';228 echo '<iframe title="' . esc_attr__( 'Update progress' ) . '" style="border:0;overflow:hidden" width="100%" height="170" src="' . wp_nonce_url( 'update.php?action=activate-plugin&networkwide=' . $this->plugin_network_active . '&plugin=' . urlencode( $this->plugin ), 'activate-plugin_' . $this->plugin ) . '"></iframe>'; 229 229 } 230 230 231 231 $this->decrement_update_count( 'plugin' ); -
wp-admin/update-core.php
644 644 require_once(ABSPATH . 'wp-admin/admin-header.php'); 645 645 echo '<div class="wrap">'; 646 646 echo '<h1>' . __( 'Update Plugins' ) . '</h1>'; 647 echo '<iframe src="', $url, '" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0" title="' . esc_attr ( 'Update progress' ) . '"></iframe>';647 echo '<iframe src="', $url, '" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0" title="' . esc_attr__( 'Update progress' ) . '"></iframe>'; 648 648 echo '</div>'; 649 649 include(ABSPATH . 'wp-admin/admin-footer.php'); 650 650