Upgrade/Install: Escape the %
in width="100%"
in a printf()
call in Plugin_Upgrader_Skin::after()
.
Props afragen. Fixes #47989. git-svn-id: https://develop.svn.wordpress.org/trunk@46072 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8b17f6caee
commit
c95616cb63
@ -47,7 +47,7 @@ class Plugin_Upgrader_Skin extends WP_Upgrader_Skin {
|
||||
if ( ! empty( $this->plugin ) && ! is_wp_error( $this->result ) && $this->plugin_active ) {
|
||||
// Currently used only when JS is off for a single plugin update?
|
||||
printf(
|
||||
'<iframe title="%s" style="border:0;overflow:hidden" width="100%" height="170" src="%s"></iframe>',
|
||||
'<iframe title="%s" style="border:0;overflow:hidden" width="100%%" height="170" src="%s"></iframe>',
|
||||
esc_attr__( 'Update progress' ),
|
||||
wp_nonce_url( 'update.php?action=activate-plugin&networkwide=' . $this->plugin_network_active . '&plugin=' . urlencode( $this->plugin ), 'activate-plugin_' . $this->plugin )
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user