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.
Built from https://develop.svn.wordpress.org/trunk@49297


git-svn-id: http://core.svn.wordpress.org/trunk@49059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-10-24 12:33:07 +00:00
parent 4aca25b296
commit 10091823f1
2 changed files with 7 additions and 5 deletions

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',

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.6-beta1-49296';
$wp_version = '5.6-beta1-49297';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.