Coding Standards: Use consistent formatting for <div class="wrap"> sections in wp-admin/update-core.php.

Follow-up to [28500], [28530].

Props ravipatel.
Fixes #51618.

git-svn-id: https://develop.svn.wordpress.org/trunk@49297 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-10-24 12:31:07 +00:00
parent 4e0222d529
commit 4a3a7bd041

View File

@ -1072,10 +1072,12 @@ if ( 'upgrade-core' === $action ) {
$title = __( 'Update Plugins' );
require_once ABSPATH . 'wp-admin/admin-header.php';
echo '<div class="wrap">';
echo '<h1>' . __( 'Update Plugins' ) . '</h1>';
echo '<iframe src="', $url, '" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0" title="' . esc_attr__( 'Update progress' ) . '"></iframe>';
echo '</div>';
?>
<div class="wrap">
<h1><?php _e( 'Update Plugins' ); ?></h1>
<iframe src="<?php echo $url; ?>" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0" title="<?php esc_attr_e( 'Update progress' ); ?>"></iframe>
</div>
<?php
wp_localize_script(
'updates',