WordPress.org

Make WordPress Core

Changeset 35855


Ignore:
Timestamp:
12/10/2015 07:23:30 PM (5 years ago)
Author:
afercia
Message:

Updates screen: make the new strings introduced in [35854] translatable.

Props walbo.
Fixes #34763.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader-skins.php

    r35854 r35855  
    226226        if ( !empty($this->plugin) && !is_wp_error($this->result) && $this->plugin_active ){
    227227            // 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>';
    229229        }
    230230
  • trunk/src/wp-admin/update-core.php

    r35854 r35855  
    645645    echo '<div class="wrap">';
    646646    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>';
    648648    echo '</div>';
    649649    include(ABSPATH . 'wp-admin/admin-footer.php');
Note: See TracChangeset for help on using the changeset viewer.