Make WordPress Core

Changeset 46072


Ignore:
Timestamp:
09/06/2019 06:25:19 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Escape the % in width="100%" in a printf() call in Plugin_Upgrader_Skin::after().

Props afragen.
Fixes #47989.

File:
1 edited

Legend:

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

    r45926 r46072  
    4848            // Currently used only when JS is off for a single plugin update?
    4949            printf(
    50                 '<iframe title="%s" style="border:0;overflow:hidden" width="100%" height="170" src="%s"></iframe>',
     50                '<iframe title="%s" style="border:0;overflow:hidden" width="100%%" height="170" src="%s"></iframe>',
    5151                esc_attr__( 'Update progress' ),
    5252                wp_nonce_url( 'update.php?action=activate-plugin&networkwide=' . $this->plugin_network_active . '&plugin=' . urlencode( $this->plugin ), 'activate-plugin_' . $this->plugin )
Note: See TracChangeset for help on using the changeset viewer.